• Resolved poppershr

    (@poppershr)


    Hello WooCommerce Support Team,

    I am experiencing an issue with my WooCommerce store where the product prices are changing based on the customer’s shipping location, despite having configured my settings to include VAT in the displayed prices. I have set the option to “Yes, I will enter prices inclusive of tax,” and I have verified that all products are assigned the correct tax class with appropriate rates for each location.

    However, when I change the shipping address during checkout, the product price fluctuates instead of remaining constant.

    My goal is for the product price to remain fixed while displaying the applicable VAT amount based on the specific location.

    Could you please assist me in resolving this issue?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @poppershr,

    We’d be happy to assist you with this one. Could you please share a link to your site for us to review? Please also share screenshots of your tax settings and your tax classes.

    In the meantime, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:

    • Which WordPress, WooCommerce, WooCommerce database, and PHP versions are you running?
    • Which theme do you use, and it’s also up to date?
    • Do you use any other third-payment plugins for WooCommerce?
    • Additionally, do you find any errors in your?WooCommerce Logs? If so, please share them with us.

    Once we have more information, we’ll be able to assist you further.

    Thanks!
    -OP

    Thread Starter poppershr

    (@poppershr)

    Screenshots of tax settings and tax classes:

    https://ibb.co/M5nNfrJ
    https://ibb.co/F0N4n73
    https://ibb.co/VSgrxvN
    https://ibb.co/rZsC263

    I would not like to post the link to the website because I cant delate the link later. Is it possible to send you the link to the website in anyother way?

    I have:

    • WordPress 6.6.2;
    • Woocommerce Version 9.3.2 ;
    • PHP version 8.2.18
    • Blocksy Premium Theme Version: 2.0.68 (Blocksy Child Theme Activated) ALL UP TO DATE

    Third-party plugins:

    • I use the Discount Rules Core plugin for bulk discounts and other discounts (I deactivated it, to see if this is the problem, but it still didn’t work)
    • Flexible Shipping
    • UpsellWP Lite – WooCommerce Upsell, Cross-sell and Order Bumps

    IMPORTANT:

    • I made the website and upladed all the products and set the prices.
    • At the end I ACTIVATED in the Woocommerce->Settings->General->”Enable tax rates and calculations” and then set all the settings for the taxes.
    • I think that in the backend of woocommerce, there is a conflict between the old setting and the new ones. Because when the store location is activated the prices show normally, but as soon as I change the location the price of all the products change.
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @poppershr

    It seems like you’ve done a thorough job in setting up your tax configuration. However, the fluctuation in product prices based on shipping location could be due to a few reasons.

    It’s important to note that when you select “Yes, I will enter prices inclusive of tax”, WooCommerce will calculate tax based on the base address of your store. If the tax rate for the customer’s location is different from your store’s base address, the price may fluctuate to adjust for this difference. More info: https://woocommerce.com/document/setting-up-taxes-in-woocommerce/configuring-specific-tax-setups-in-woocommerce/#charge-customers-same-tax-as-store

    Also, you can see how tax works in WooCommerce here: https://github.com/woocommerce/woocommerce/wiki/How-Taxes-Work-in-WooCommerce

    I hope this clears up any confusion. If you have any other questions, feel free to ask!

    Thread Starter poppershr

    (@poppershr)

    Hello,

    Thank you for your prompt response!

    I now understand your explanation. When I set my store location to Slovenia (with 22% VAT) and the product price to €10, if a customer changes their location to Croatia (with 25% VAT), the system currently adds 3% to the price.

    However, I need help with configuring the system so that the product price remains constant, regardless of the customer’s location. Here’s what I’m aiming for:

    • The product price is set at €10 (including tax).
    • My store location is Slovenia (22% VAT), meaning the price the customer sees and pays is €10, with €1.80 as the VAT portion.
    • If the customer changes their location to Croatia (25% VAT), the price should still remain €10, but the VAT portion would adjust to €2.00.

    In short, I want the product price to always stay fixed at €10, with only the VAT portion being recalculated based on the customer’s location.

    Could you assist me in setting this up?

    Thank you in advance for your help!

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @poppershr

    To achieve what you’re looking for, set “Prices Entered With Tax” to “Yes, I will enter prices inclusive of tax”. This means that you will enter your product prices with tax included.

    Next, in the “Calculate Tax Based On” field, select “Customer shipping address”. This will calculate tax based on the customer’s shipping location.

    Finally, make sure to choose the “Standard” tax rate for all products. This ensures that all products are taxed at the same rate, regardless of their individual tax class.

    Now, when a customer from a different location shops at your store, the product price will remain the same, but the tax portion will adjust based on their location’s tax rate.

    If this doesn’t work, add this code snippet to your child theme’s functions.php:

    add_filter( 'woocommerce_adjust_non_base_location_prices', '__return_false' );

    I hope this helps! Please let us know how it goes or if you need further assistance.

    Thread Starter poppershr

    (@poppershr)

    Hello,

    I had already configured the settings as you mentioned, but after using the code you provided, everything is now working perfectly!

    Thank you so much for your help – I really appreciate it.

    Wishing you a wonderful day!

    Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @poppershr,

    Glad to know that we were able to help.

    Please feel free to reach out if you have additional questions.

    Cheers!

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