• Resolved Bond323

    (@bond323)


    Hello,

    I have a woocommerce store which has products with different tax rates (21% and 6%). The tax class is based on products in the cart.

    Now comes the issue. The shipping cost always must be the same amount, for example €9,95. So when i set the shipping cost at €8,22 (this is exclusive tax, with taxes included it’s €9,95), because woocommerce wants you to set the shipping costs exclusive tax.

    Now, when you add a product with 21% tax to your cart, there is no problem. But when you add a product with 6% to your cart, the shipping cost changes to €8,71. This because it now counts 6% of €8,22. But the shipping cost must always be €9,95, no matter what tax percentage the product you want to buy has.

    Can anybody help me with this problem? I cannot find any thread about this issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • con

    (@conschneider)

    Engineer

    Hi there,

    You can try and use either “Standard, Reduced or Zero” Rate for your shipping tax only and then make use of this:

    ![](http://cld.wthms.co/FH5jS0)
    Image Link: http://cld.wthms.co/FH5jS0

    Alternatively you can also create an additional tax class for this.

    Kind regards,

    Thread Starter Bond323

    (@bond323)

    Hello,

    That is a possibility, if i set it like that you must give the shipping a fixed tax rate which is the same in all cases. But the problem is that the tax rate must be variable:

    When you have in cart:
    1x 6% tax product -> shipping tax rate must be 6%
    or
    1x 21% tax product -> shipping tax rate must be 21%

    Or when you have 2 products with different tax rates in your cart, the highest percentage tax must be applied to the shipping cost:
    1x 6% tax product + 1x 21% tax product in cart -> shipping tax rate must be 21%

    Please also read this woocommerce thread, where user “mcombuechen” also explains the exact same issue:

    https://github.com/woocommerce/woocommerce/issues/9320

    In this thread there is no solution.

    Joel Williams

    (@joelwills)

    Automattic Happiness Engineer

    Hi there!

    There isn’t a way to do this built into core WooCommerce. If you have it set to be based on cart products, the 6% one will get 6% and the 21% one 21%, there isn’t a way to set both to 21%.

    I see you (or someone else) commented on that GitHub thread a few days ago. That’s the best place to continue the discussion as it requires a change in WooCommerce core, so I’ll close this here to avoid duplication.

    All the best!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shipping tax calculation issue’ is closed to new replies.