Support » Plugin: WooCommerce » Include TAX within base price

  • Resolved johnsonmediaa


    Hi there,

    I’m currently trying to set up my taxes in Woocommerce. However, I’m running into this one issue.

    I can’t seem to find a way to calculate the EU VAT tax the way I’d like. I’m not sure if I’m not picking the right settings or if this requires some custom code.

    I’d like all my customers to pay the regular base price of each product on my site, no matter where they are from.

    Currently, on a €100 product, a customer from the USA (0% Tax) would pay just €100. Whereas a customer from Germany (19% Tax) would pay €119 in total.

    My goal is to have both customers pay €100. So for the German customer, the 19% Tax should be included in the €100 base price.

    There’s one Woocommerce store that does this exactly the way I want. This one: If you add a product to your cart on that site, and start switching around the countries on the checkout page, you’ll see exactly what I am trying to explain.

    I’m just not sure if I am setting it up wrong, or if this is something custom.
    If it is something custom, it’d be awesome if someone can link me some articles as I wasn’t able to find any.


Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support grigaswp


    Hi there,

    Thank you for reaching out!

    I understand that you’d like to set up taxes to be included in the product price entered in the product settings, so that irrespective the tax rate, the product price is always the same.

    This can be achieved with the default WooCommerce settings.

    In WooCommerce >> Settings >> Tax, you’ll have to set Prices entered with tax to Yes, I will enter prices inclusive of tax and both Display prices in the shop as well as Display prices during cart and checkout to inclusive tax:

    I hope this helps!

    Hi grigaswp,

    That’s exactly what I expected to happen on those settings; however, it doesn’t on my end. I went ahead and copied your exact settings, but had no luck.

    With your exact settings dialed in, I run into the same issue.
    A product priced €100 will total €100 to everyone outside the EU like USA, but for someone inside the EU, like Germany, the tax gets added on top of the product price and will end up costing that customer €119 for example.

    Are there possibly other settings that may cause this, like setting up wrong tax rates or something along those lines?


    Plugin Support Luminus


    Automattic Happiness Engineer

    Hi @johnsonmediaa,

    To achieve what you’re trying to do, you’ll need to do 2 things:

    1. You need to make sure that you’ve set your prices to be inclusive of tax as shown in this screenshot:

      Full Size:

      This will make sure that all your EU customers pay €100 which already includes the taxes. However, since non-EU customers are not subject to these taxes, they will pay less than €100. i.e. €100 – tax.

    2. To get your non-EU customers to pay the same amount, you’ll need to apply the filter discussed here –—experimental-behavior

      Now all customers will pay €100 and for your EU customers, that price already includes the taxes they are meant to pay.

    Hi @luminus

    The code on that one website did exactly what I was looking for.

    Thanks a lot for the help!


Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.