Home›Support›English Support›[Resolved] Split: Set two different prices in each currency but when I change language, the set currency does not follow
[Resolved] Split: Set two different prices in each currency but when I change language, the set currency does not follow
This thread is resolved. Here is a description of the problem and solution.
Problem: The client has set different prices for each currency, and while the currency switcher works correctly, changing the language does not maintain the set currency price; instead, it shows the automatic exchange rate price. Additionally, after updating a product price, one of the variation prices is set correctly but displayed incorrectly. Solution: 1. We updated the product in the default language and checked the frontend to ensure that the manual price for the second currency displayed correctly. 2. We identified the issue as related to caching. To resolve this, we went to the admin area, clicked on the top bar menu, selected Breeze, and then clicked on 'Purge All Cache'. This action corrected the price display. 3. We advised the client to adjust cache settings if necessary by navigating to Settings > Breeze.
If this solution doesn't seem relevant to your issue, please feel free to open a new support ticket with us.
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.
I have set the two different prices in each currency - and when using the currency switcher, they are fine. But when I change language, the set currency does not follow, the automatic exchange rate is shown as the price. What setting am I not doing right? 😉
Thank you for contacting WPML support, I'd be happy to help you with this issue.
Please try to enable a minimal environment as below and see if it helps:
- Deactivate all plugins except WPML plugins and WooCommerce
- Switch to a standard theme of WordPress
❌ IMPORTANT: Please backup your database and website before proceeding ❌
The minimum requirements are 128M, but we do recommend 256M and the debug information of your site shows it set to 40M. Please check this link for more details https://wpml.org/home/minimum-requirements/.
You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:
After adding the code you can confirm that the memory was changed correctly from WPML > Support > WordPress > Memory limit.
If it does not help, please share some screenshots of the Multicurrency setup in WooCommerce > WooCommerce Multilingual & Multicurrency > Multicurrency tab.
Hi, I have tried to use storefront (and I have up'ed the memory limit), but I still get the automatic price when using the second language, but the correct price on the default language, but the second currency with the currency switcher.
Attached you will find a screenshot of the set up, do you need more info?
Please let me know the product URL where I can see the issue. Then I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.
❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.
I re-update the product in English language and switch the language in the frontend, the manual price of the second currency is displayed correctly. Here is the screen record hidden link
Hi, yes I see that you changed the price for one of the sizes. I changed it back, but now one of the variation prices is set correctly but displayed wrong. Does it take some time for the translation to update?
It's a caching issue. In the admin area > Top bar menu > I click on Breeze > Purge All Cache then the price displayed correctly. You can change the cache settings in Settings > Breeze.
I hope I was helpful. Don't hesitate to ask if you find any problem along the way, I'll gladly help you.