• Resolved Woopress

    (@woopress)


    Hi there,

    The tax settings on for our WooCommerce store is not working properly. We have 3 different taxes (as ”reduced rate”) for the Netherlands (9%), Germany (7%) and Belgium (6%).

    Settings are:
    – Enable taxes
    – Prices entered with tax: yes, I will enter prices inclusive of tax
    – Calculate tax based on: customer shipping address
    – Display prices in the shop: including tax
    – Display prices during cart and checkout: including tax

    Now the problem is: when you are completely new on the website and go to a product, you see the tax excluded price. When you fill in the checkout, the site recognizes the country and then shows different prices based on tax rate.

    However, the price should always be the same on the productpage. Only the tax amount should change on the checkout page when country is filled in.

    So for example, one product costs 21,95 including tax. On the productpage, it should be viewed as 21,95 (without showing the specific amount of tax). In the checkout, after filling in the country, it should what the amount of tax is within the 21,95.

    Also the base price of 21,95 changes in the checkout when you change the country.

    How can we fix this? Tax should only be calculated at checkout, and should only view how much the tax is within the base price of 21,95 (which is including the tax).

    Thanks in advance!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hi @woopress

    Thanks for reaching out!

    I understand that the price displayed on your shop page is excluding tax and when you go to the checkout page the value changes after recognizing the tax rate, correct?

    Kindly be informed that this is the expected behavior since every country differs the tax rate, hence, tax is only calculated on cart and checkout pages when the shipping address is entered.

    Should you wish to display the VAT-inclusive price upfront when a cusotmer accessed your store, you could enable the Geolocate function under WooCommerce > Settings > General > Default customer location. This function verifies the current location and calculates taxes accordingly.

    Here’s a screenshot of the product on the shop page:

    Cart page: wherein it detects that my location is in the US:

    Hope this helps!

    Thread Starter Woopress

    (@woopress)

    Hi @xue28

    Thanks a lot for your reply.

    We want to display the VAT-inclusive price upfront on the shopping page, despite the geolocation. Because the VAT-inclusive price never changes.

    So a €100 product will always be €100. Only when at the checkout, the geolocation is detected (by for example filling in ”Country”), it may show what amount of the €100 is tax for that specific country.

    So the VAT-inclusive price is not dependent on the %-VAT. Only the amount of VAT that is paid will differ (within that €100).

    So is there a way we can display the VAT-inclusive price upfront, and at the checkout after filling in country, it will show how much of the price is actual VAT?

    Thank you in advance.

    Saif

    (@babylon1999)

    Hello @woopress,

    I understand that you’d like to display prices without tax on the shop page and only include the tax when your customers add their billing information.



    To achieve this, navigate to WooCommerce > Settings > Tax and change the tax display settings as shown.


    Link to image: https://d.pr/i/QuJB1E

    Cheers!

    Thread Starter Woopress

    (@woopress)

    Dear @babylon1999 @xue28

    No, that is not what I mean. The price on the productpage should be displayed including tax, however, the amount of tax should only be shown on the checkout page after filling in location.

    I will try to clarify it more specifically: let’s say a products costs €100 and falls into reduced tax rate. In The Netherlands that’s 9%, in Germany 7% and Belgium 6%.

    On the product page, customer only see €100. This price is tax included. It doesn’t matter whether the customer is from Netherlands, Belgium or Germany, the price is always €100 tax included. So all the customers, regardless of country, will see and pay €100.

    Only when go to the checkout and fill in their country, in the ”Total” section it will state:

    For customer Netherlands (tax 9%): Total price €100 (including €8,25 tax)
    For customer Germany (tax 7%): Total price €100 (including €6,54 tax)
    For customer Belgium (tax 6%): Total price €100 (including €5,66 tax)

    Do you understand what I mean? If anything is unclear, please let me know.

    Hi @woopress

    Thanks for sharing further information about your inquiry here.

    I understand that you want to display VAT-inclusive price on your shop page and the tax would only be calculated when location is inputted in the cart and checkout pages based on the reduced rates above, correct?

    As a first step, please make sure that Gelocate is disabled under WooCommerce > Settings > General > Default customer location:

    Then, update your tax settings (WooCommerce > Settings > Tax) to display VAT-inclusive prices:

    Then, create the Reduced Tax Rate for the countries you stated above:

    Then, update the Tax Class of the product to Reduced Rate:

    Output on my shop page, product price is showing $120.

    Same rate is still showing on my Cart page:

    Now, when I change the shipping location, here’s where the rate changes inclusive of VAT:

    Hope this helps!

    Thread Starter Woopress

    (@woopress)

    @xue28

    Thank you for your extensive reply.

    However, there is one problem with your solution: the shown $120 on the product page is actually not tax-included. Now what happens is, that the price changes depending on the country.

    In your example, Germans pay ?$128,40, Belgium ?$127,20 and Dutch ?$130,80. That shouldn’t be the case. The price always stays the same for everyone, despite the location.

    So lets say the price of the product is $100

    For customer Netherlands (tax 9%): Total price $100 (including $8,25 tax)
    For customer Germany (tax 7%): Total price $100 (including $6,54 tax)
    For customer Belgium (tax 6%): Total price $100 (including $5,66 tax)

    As you can see, only the total amount of tax changes, but not the original price. That is always the same for everyone.

    Hi,

    I was checking a previous thread that you can see here, the discussion is about to show the same price, but different taxes depending on the customer’s country. The thread makes a reference to this web article: Same price regardless of taxes, it is adding custom code (A filter) as a workaround.

    The filter is:

    add_filter( 'woocommerce_adjust_non_base_location_prices', '__return_false' );

    You can add the filter using the code snippets plugin or directly editing your functions.php file on your site.

    I was testing it, and this is the result on my end:

    Can you please check if that works on your site?

    I hope this helps.

    • This reply was modified 1 year, 7 months ago by Igor H.
    Thread Starter Woopress

    (@woopress)

    @ihereira Thank you so much for your reply.

    Could you specify where in the functions.php we need to add this code. And just like this?

    add_filter( ‘woocommerce_adjust_non_base_location_prices’, ‘__return_false’ );

    Also: what should the base settings be in Woocommerce –> Settings –> Tax?

    Thank you in advance!

    Hi @woopress

    Could you specify where in the functions.php we need to add this code. And just like this?

    add_filter( ‘woocommerce_adjust_non_base_location_prices’, ‘__return_false’ );

    You can add the code using the Code Snippets plugin or create a child theme and add the PHP snippet to the functions.php file within the child theme.

    Also: what should the base settings be in Woocommerce –> Settings –> Tax?

    If I’m not mistaken, the prices should be displayed as VAT-inclusive. Otherwise, please try VAT-exclusive and see if that works. I checked the thread shared by Igor above, however, I did not find any tax settings recommendation.

    Hope this helps!

    Hi @woopress

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Thanks!

    Thread Starter Woopress

    (@woopress)

    @xue28 @ihereira Thanks a lot, the code worked!

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @woopress ,

    Really glad to hear that the code snippet has worked for you!

    Since this has been resolved, feel free to create a new topic should you need any further help.

    Also, if you have a few minutes, we’d love it if you could leave us a review:?

    https://www.ads-software.com/support/plugin/woocommerce/reviews/

    Cheers!

    Hi, i had the same issue, and i resolved so the product prices are displayed the same for all countries and i absorb the diferent tax rates. I did it with this: add_filter( ‘woocommerce_adjust_non_base_location_prices’, ‘__return_false’ );

    But it works only for products. Not the shipping and COD options.

    How can i do also for this?

    Thank you

    • This reply was modified 1 year, 6 months ago by ockanakupuje.
    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hi @ockanakupuje ,

    I understand that you would like additional help with this similar issue.

    However, in order to align with?forum best practices, please create a new topic so that we can address your issue(s) separately.

    You can create a new thread here:?

    https://www.ads-software.com/support/plugin/woocommerce/#new-topic-0

    Thanks for understanding!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Tax rates not properly displayed’ is closed to new replies.