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
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Supporter timezone: Europe/Vienna (GMT+02:00)

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by Bigul 2 days, 22 hours ago.

Assisted by: Bigul.

Author Posts
June 30, 2025 at 2:49 pm #17184989

jakobM-4

Background of the issue:
I am trying to replicate an issue on our EU site at hidden link where changing the language from English/EUR to Danish/DKK affects the shopping basket. I want to understand why the product price changes incorrectly when switching languages.

Symptoms:
When I add a product to the shopping basket in English/EUR and then change the language to Danish/DKK, the product remains in the basket but the price is incorrectly displayed as the same numerical value in DKK as it was in EUR. For example, a product priced at 145 EUR is shown as 145 DKK after the switch.

Questions:
Why does the product price not convert correctly when changing languages?
Is the script responsible for clearing the basket not loading fast enough?

June 30, 2025 at 3:16 pm #17185314

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

The issue is most likely caused by outdated plugins. Please update WooCommerce (9.9.5), WPML (4.7.6 series), and all other plugins to their latest versions after taking a full site backup (mandatory).

Then, clear all types of caches and check if the issue still exists.

--
Thanks!

Bigul

July 3, 2025 at 12:37 pm #17197252

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for the updates. We assume you have enabled the "Clear cart contents when a language is selected" option due to this bug (please refer to the attached image for more details).

This issue is most likely caused by a compatibility conflict. To help track it down, please try the following steps on a staging site after taking a full site backup:

a) Switch temporarily to a default WordPress theme, such as Twenty Twenty-Five
b) Deactivate all plugins except WPML and WooCommerce
c) Check if the issue still occurs
d) If the issue is resolved, start reactivating the other plugins in groups of 3–4 to identify the one causing the conflict
e) Switch back to your parent theme (Shoptimizer), then the child theme

Please let us know the results after testing.

--
Thanks!

Bigul

2025-07-03_17h45_31.png