This thread is resolved. Here is a description of the problem and solution.
Problem: The client wants to implement a country selector in the header of their site, similar to another site, to show the country name and corresponding currency. They are facing issues with displaying prices inclusive of taxes with different tax rates for different countries. Solution: We recommend two potential solutions: 1. Display the products exclusive of tax. This is the easiest solution. 2. Increase the price for the US currency by 25% when editing the product in the backend. For example, instead of entering $59, enter $73.75. This way, when viewed with a shipping address in the US, it will display as $59. If USD is allowed for other countries, then it should display as $73.35, which includes the 25% tax.
This approach ensures that the price inclusive of tax is adjusted correctly based on the shipping address, which determines the applicable tax rate.
If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I want to have a country selector in the header of my site hidden link, instead of a currency switch. If the delivery country is USA, I want a dropdown that shows the country name and the corresponding currency, similar to the functionality on hidden link.
Symptoms:
Can't find any relevant documentation.
Questions:
Do you have any solution to implement a country selector in the header?
Do you know of a third-party plugin that integrates with WPML for this functionality?
I have found that the issue is due to using prices inclusive of taxes with different tax rates. Your default currency is krona, which is a currency for Sweden, which has the 25% tax. So based on standard tax rates, it includes the tax in the price. Tax rate is not adjustable by currency, it is determind by the shipping address. So by default all product prices will show on the front end including 25%. Since the tax rate isn't determined until shipping address, the 25% is being deducted from the US dollar price. Once you get to the checkout and add a country outside of the US, such as Sweden, you will see the correct US price of $59. However for a shipping to USA, the price remains $47.20 because shipping to USA has no tax. So, there are two solutions here:
1. Display the products exclusive of tax (easiest solution)
2. Increase the price for US currency for the product by 25% when you edit the product in the backend. So instead of $59, you would enter $73.75. Now, when you view the product with shipping address in the US, it will display as $59. If you allow USD for other countries, then you should see $73.35 which will include the 25% tax.
In other words, you can't have price inclusive of tax and have different prices in the same currency for different countries. When you list prices as tax inclusive, it is meant that you add the cost of tax to the product. But since you have no tax for US, you are not increasing the price. But there IS an increase in tax in other countries, so you need to include that tax into the US price. I hope that makes sense.
Please let me know if you need any further assistance and I will be happy to help.
Hi, does that mean that I need to have inconsistent tax settings? Prices in the shop should be seen including TAX, but I need to enter all prices excluding tax, which generates this warning message in Woo.
"Prices in the shop should be seen including TAX, but I need to enter all prices excluding tax"
Is precisely the problem. The prices will not be the same in all currencies because of the differences in tax. It's not possible with WooCommerce to show the price inclusive of tax but enter the price exclusive of tax. Feel free to play around with the staging site we set up and test different WooCommerce settings. The login link is hidden link and you can use credentials from your live site to login.
You are certainly welcome to try the inconsistent tax settings but that pop up from WooCommerce is warning that there may be issues.
Hmm ok, this is really an issue as people in Sweden and all of EU always expects the prices to be including tax. Seems like I will need to have inconsistent settings in that case.
can you check my live site now, how are the prices showing for the products?
It looks correct, I see $59 price in USA and in cart, the total is $59. If I change the address to Sweden, the price changes to 958,00 kr (incl. VAT). So I think it seems correct now?
Cool, thanks! I just tried visiting the site from Denmark trough a VPN, as DKK should be used there, but the site is showing in USD. Also sometimes when I visit the site without VPN here from Sweden the prices appears in USD, seems a bit strange. Any ideas?
Please confirm that you have the correct currencies selected per country and if the issue is still happening please open a new ticket, so it doesn't get confused with the tax issues we resolved here.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.