Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was experiencing incorrect currency conversion rates when auto-translating product variations from English to Slovak. The system was incorrectly using the default language EUR price for conversions instead of the Dirham price.
Solution:
We updated the translation of the affected product to correct the currency conversion issue. We recommend the client to verify if the issue is resolved by checking the product variations on their site. If the problem persists or if this solution becomes outdated, we advise checking for related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that the latest versions of themes and plugins are installed. 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.

Tagged: 

This topic contains 9 replies, has 2 voices.

Last updated by Lucas Vidal de Andrade 1 month, 3 weeks ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
April 29, 2025 at 1:47 pm #16979577

Lukas Cech

Background of the issue:
I am trying to auto-translate English products with variations to Slovak using a manual Dirham to EUR exchange rate of 1 EUR = 0.25 Dirham. The issue can be seen on this page: hidden link

Symptoms:
The variation prices are calculated incorrectly. I expected to see variation prices of 185 EUR or 740 Dirham, but instead, I got 46.25 EUR and 185 Dirham, where 185 is the original EUR price. The system takes the default language EUR price (instead of Dirham) and converts that. It should take the Dirham price and convert that.

Questions:
Why are the variation prices calculated incorrectly during automatic translation?
How can I ensure the correct exchange rate is applied in the translation process?

BTW, I know the theme is older. I tried switching to a default theme, but this issue happens anyway.

I have also tried implementing this code, but no change: https://wpml.org/forums/topic/issue-with-multi-currency-compatibility-with-the-variation-swatches-pro-plugin/

April 29, 2025 at 2:06 pm #16979674

Lukas Cech

Happy to create a temp login link for you, but please turn on the private ticket area.

April 29, 2025 at 2:45 pm #16979863

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

It seems to me that you inverted the conversion of EUR to AED. The correct value would be 1 EUR = 4 AED. Please check this example:

Price in EUR = 185
Price in AED = 185*4 = 740

The way you set your prices, the value in AED will always be 0.25 of the value in EUR. I attached today's EUR/AED rate.

April 29, 2025 at 3:01 pm #16979897

Lukas Cech

Sorry, i incorrectly stted it here in the ticket but my settings are correct, 1 aed = 0.25 eur

The rate isnt the problem for EN products, it converts fine, WPML messes up the conversion for SK products.

1000019302.jpg
April 29, 2025 at 6:10 pm #16980671

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Thank you for clarifying. I was able to check the issue on your website directly.

I would like to look at this directly on your site. For this I would need temporary access (WP-Admin and FTP) to your site, preferably to a test/staging site where the problem has been replicated if possible.

The required fields can be found below the comments section. The information you enter is private, i.e. only you and I can see it and have access to it.

I may need to replicate your website locally. To do this, I need to temporarily install a plugin called "Duplicator" or "All in One WP Migration" on your website. This will allow me to create a copy of your website and content. Once the issue is resolved, I will delete the local website. Let me know if this works for you.

IMPORTANT

Please make a backup copy of the site files and database before giving us access.

- If you do not see the wp-admin/FTP fields, this means your post and site login details are being made PUBLIC. DO NOT post your website details if you do not see the required wp-admin/FTP fields. If you do not, ask me to enable the private box. The private box looks like this:

hidden link

April 30, 2025 at 5:05 pm #16984999

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

It seems that this product just needed an update. It's likely that some previous update mistakenly changed the rating calculations. I've updated the translation, so the issue should be resolved now. Please confirm if everything is working as expected.

Thank you.

May 2, 2025 at 8:13 am #16988331

Lukas Cech

Hi Lucas,

I don't think this is sufficient testing from your side. Have you tried creating a new product?

Because yes - if you update the product, the price seems to fix itself. But I later updated the same product (that already had a good price on the SK version) and it reverted to the incorrect one again.

And every time I create a new product, it gets the incorrect SK conversion.

So it's not enough to just update the product + why would it happen in the first place anyway? We need it fixed, so it never happens. The same price should always show on every language mutation of a product.

May 2, 2025 at 5:19 pm #16990429

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Thank you for waiting. I've tested two things:

1. Creating a product from scratch
I've created new product in EN, with the price of 10 AED and translated it to SK. I've switched currencies and the value is showing correctly in both languages (10AED and 2.50EUR). You can check it here:
hidden link

2. Updating the Black Denim Set LETH – Vest & Shorts product
I've made a small editing in the products description and updated its translation. Both prices are showing correctly, in both languages.

To be able to investigate the issue, I need to be able to reproduce it. Can you please tell me how I can reproduce it?

May 5, 2025 at 10:53 am #16995706

Lukas Cech

Hi Lucas,

My issue is with variable product pricing, you are testing a standard product. But, I just tried to recreate the problem and I can't either.

Let's leave this ticket open for a week or so, I'll ask my client to create new products and we'll see if the issue surfaces again.

May 5, 2025 at 2:30 pm #16996838

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Ok, thank you so much for your feedback. This ticket stays open for 2 weeks. Let me know if the issue persists.