• Resolved user2796

    (@user2796)


    Hello,

    I recently enabled taxes for my woocommerce shop but I can’t seem to find the right setting to showcase what I am trying to do. In short, the price of a product should remain the same across the board, no matter which country they are from or which tax rates they have. I will take the responsibility of the higher or lower tax rates. The customer does not pay more or less because of different tax/VAT rates of their country.

    Examples:

    If a customer is from Germany for example, the VAT rate is 19%. The product cost remains the same at 100€ for the customer, during checkout it only shows that the price of 100€ includes a tax of 19€.

    If a customer is from Finland for example, the VAT rate is 24%. The product cost remains the same at 100€ for the customer, during checkout it shows that the price of 100€ includes a tax of 24€.

    If a customer is from the United States, the VAT rate would be 0%. The product should still cost 100€ for the customer, but no VAT or 0% tax will be shown on checkout.

    It should be considered as if I did not enable taxes on my woocommerce shop, I only did that so that they can see how much VAT/tax is included in the price during checkout.

    I have tried all variants of the tax settings and none seem to be correct for what I am trying to do. Thanks in advance for your replies!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there, @user2796! Thanks for contacting us. I’m happy to help you.

    While we don’t have a specific setting for that as the use-case is somewhat unique – most stores tend to pass the tax-rate due on to the customer, you could use the?woocommerce_adjust_non_base_location_prices?filter in some custom coding. For more information on how that works, have a look at?this guide.

    As per our support policy, we are not able to provide support for custom code. But if you need further help with the coding for this, you can visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there too.

    I hope this helps.

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Have a wonderful day!

    Thread Starter user2796

    (@user2796)

    Hey @carolm29, thanks for your reply! While this code does work somewhat:

    add_filter( 'woocommerce_adjust_non_base_location_prices', '__return_false' );

    I am having an issue that the product page and the shop page sometimes still shows the price excl. tax for US based customers, only when they go to checkout the correct price is shown. This seems to be totally random as some products have this issue while others don’t – The tax settings of the products are all the same (taxable, standard rate).

    Example:

    US based customer goes to shop page – sees a product for 89€ – goes to the product page, its still 89€ – adds it to the cart for 89€ – goes to the cart/checkout – the product suddenly shows up as 100€.

    The issue persists on multiple products but not all of them. Some seem to show the correct price (100€) in the shop page, product page and then the cart/checkout, while another random product has the issue from above.

    Hey, @user2796!

    I’m sad to hear the code did not work exactly as you wanted.

    Please note that, as I mentioned, custom code is not on our scope of support, so we are not able to assist you further with this.

    But we have an awesome and engaged community who can help you out. So please feel free to reach out to them on Slack and Facebook on the links above ??

    I hope you are able to find a solution soon ??

    Have a wonderful day!

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