Support » Plugin: WooCommerce » How to get subtotal based on specific tax rate?

  • Resolved gore.m

    (@gorem)


    Hello,
    is there way to filter out / get subtotal based on an specific tax rate (for example “standard”)?

    'total_price_without_vat'	=> array(
                'label'	=> __('Subtotal VAT excl.', 'a_project'),
                'value'	=> wc_price( $order->get_total() - $order->get_total_tax()),
            ),

    Thanks you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jesse Pearson

    (@jessepearson)

    Automattic Happiness Engineer

    @gorem Specific tax rates are applied according to what the store settings are, such as customer location, address, or store address. That should be all the filtering that’s needed.

    Plugin Support Melinda

    (@melindahelt)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get subtotal based on specific tax rate?’ is closed to new replies.