Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 10:00 8:00 – 10:00 8:00 – 13:00 8:00 – 13:00 9:00 – 13:00 -
- 11:00 – 17:00 11:00 – 17:00 14:00 – 17:00 13:00 – 17:00 13:00 – 18:00 -

Supporter timezone: America/New_York (GMT-05:00)

Tagged: 

This topic contains 12 replies, has 2 voices.

Last updated by Lauren 12 hours, 48 minutes ago.

Assisted by: Lauren.

Author Posts
November 5, 2024 at 9:05 pm

rasmusN-3

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?

November 5, 2024 at 11:40 pm
November 6, 2024 at 9:01 pm #16374706

rasmusN-3

Hi, any news on the currency issue?

November 6, 2024 at 9:44 pm
November 6, 2024 at 9:45 pm #16374778

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

Please see my previous private reply and let me know once the migration is completed.

November 6, 2024 at 10:37 pm #16374858

rasmusN-3

Hi, done. Please check if all is correct and let me know. There was some more alternatives in the form which wasn't mentioned in your email.

November 7, 2024 at 5:08 pm #16379420

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

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.

November 7, 2024 at 6:35 pm #16379604

rasmusN-3

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.

Skärmavbild 2024-11-07 kl. 19.33.34.png
November 7, 2024 at 7:13 pm #16379776

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

Correct, you need to be consistent. This:

"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.

November 7, 2024 at 7:18 pm #16379779

rasmusN-3

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?

November 7, 2024 at 7:31 pm #16379825

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

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?

November 7, 2024 at 7:35 pm #16379847

rasmusN-3

Hmm, is 958 SEK for two pieces maybe? As I have no prices like that, but I do have 479 🙂

November 7, 2024 at 7:57 pm #16379896

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

Sorry, yes, I had 2 products in the cart. Here's a screenshot of what I see with 1 product in the cart now.

Screenshot 2024-11-07 at 2.57.15 PM.png
November 7, 2024 at 8:04 pm #16379915

rasmusN-3

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?

November 7, 2024 at 8:26 pm #16379983

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-05:00)

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.