• Resolved majazmaja007

    (@majazmaja007)


    Hello
    store base address is in Croatia
    we have 2 warehouses – one in the US and one here in Croatia
    taxes are different for orders from the US and from the EU

    if I choose store based tax, it will show 25% for all the same, and US tax is 6%
    EU orders must calculate 25% VAT , aND EVERYONE ELSE 6%

    The price of the product must stay the same for everyone, only VAT is shown based on the tax we have to pay regarding warehouse location.
    If I include tax, it is added above the price, and if I change a different country the final price of the product is not the same. so I need help with this setup

    thank you

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello @majazmaja007 ,

    Okay, I understand the struggle with multiple warehouses.

    In general, you are unable to use two shop addresses so calculating tax according to the shop address may not work as expected. I would rather suggest using shipping location-based tax calculation.

    For example, if the shipping location is from anywhere in the US then the tax will be 6%. On the other hand, if it is from EU locations than 25% and for others 6%.

    WooCommerce does not allow a selection of a whole continent in tax rate so you might have to add each country separately. Take a look at these Tax rate examples to understand how can you add tax rates for each country.

    Thank you ??

    Thread Starter majazmaja007

    (@majazmaja007)

    Thank you for the answer

    can you help me in the direction on how exactly to set up tax, if my store price must stay the same for everyone?

    if I include tax, US buyers get a lower price, and that is not correct.
    the price is universal for everyone.
    so hot exactly set up a tax that it is shown on the invoice in the right amount, but the price is the same.
    thank you

    Thread Starter majazmaja007

    (@majazmaja007)

    can I set a standard US tax rate of 6% and ONLY for EU countries 25%. those are 2 tax categories I have for now.
    we will use some kind of plugin like tax jar later, but for now, those are two tax rates I must apply depending from which warehouse products are shipped.

    Thread Starter majazmaja007

    (@majazmaja007)

    So I found a solution here, but dot know where exactly to put this line of code

    `Prices including tax – Experimental Behavior

    A common feature request is to charge the same amount everywhere and absorb the differences in taxes. To enable this feature in 2.5 you would use the code:

    add_filter( ‘woocommerce_adjust_non_base_location_prices’, ‘__return_false’ );

    This would result in the following results, based on the previous 2 examples.

    Selling from HR (with their 25% tax rate) to EU COUNTRIES. The price of the product is 9.99 including tax. ALSO Selling from US (with their 6% tax rate) to US and other world COUNTRIES. The price of the product is 9.99 including tax for both but tax amount deducted from that must be different

    The EU would pay 9.99 for the product, the same as REST OF THE people.

    Price = 9.99 (the same)
    Tax = 9.99 / 1.06 = 8.39

    add_filter( ‘woocommerce_adjust_non_base_location_prices’, ‘__return_false’ );
    does this to make it possible.

    Hello @majazmaja007 ,

    I am glad to see that you have found this solution.

    So, according to the description of the solution, this filter makes the tax amount to be absorbed in the product price. So everyone pays the same amount and the change is on the product price.

    You will have to add this code in your active theme’s functions.php` file or use a snippet plugin to add the code.

    Thank you ??

    Hi there,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Thank you ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘can tax be calculated on warehouse base’ is closed to new replies.