Home›Support›English Support›[Resolved] After changing currency from currency switcher, Widgets currency is not changing.
[Resolved] After changing currency from currency switcher, Widgets currency is not changing.
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where the currency switcher does not affect the currencies displayed in sidebar widgets on the homepage, despite working correctly on product and category pages. Solution: We recommend deleting the
object-cache
and
advanced-cache
files from the wp-content folder on your staging site. This approach resolved a similar issue on our local test site, suggesting that cached data might be preventing the currency switcher from updating the sidebar widgets correctly.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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. Additionally, please feel free to open a new support ticket with us for further assistance 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 am trying to change currency and all product and category, single page currencies are changed. But in home page there is sidebar widgets with product list and product by rating list, these sidebar currencies are not changing. Link to a page where the issue can be seen: hidden link
Symptoms:
Widget currencies are not changing.
Questions:
Why are the sidebar widget currencies not changing when I switch currencies?
How can I ensure that the currency switcher affects all parts of my website, including widgets?
The widgets are from by default in Woocommerce. And I already tried to deactivate all plugins and just keep only woocommerce and wpml,etc , Still have same issue. Also activated bydeafult wordpress themes, Still have issues.
Thanks for contacting WPML forums support. I'll be glad to help you today.
First of all, sorry for the late reply; it was due to a higher workload.
Please log in to this hidden link">sandbox site and try to replicate the issue. If the issue is replicable, please let me know how to reproduce it so I can check and consult our 2nd tier support team.
Hi I just tried to add a new 3 products to the sanbox and added the currency switcher and widgets. It's working in the sandbox.
check the sanbox site, And try to change currency. Currency switcher and product widgets are already in footer. But from our website it's not changing currency of widgets even if i make it the theme to default wordpress and deactivating the plugins.
Thanks for your update. I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Thanks for the access details. I installed a local copy of your site to check the issue and my local site works correctly.
The only difference between my local site and your staging site is that I deleted the "object-cache" and "advanced-cache" files from the wp-content folder.
Would you please delete them from your staging site and check the issue?