Skip Navigation

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.

Tagged: 

This topic contains 4 replies, has 1 voice.

Last updated by Osama Mersal 1 week, 2 days ago.

Assisted by: Osama Mersal.

Author Posts
December 19, 2024 at 11:11 am #16529543

deepsonT

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?

December 20, 2024 at 5:14 pm #16535089

Laura
Supporter

Languages: English (English ) Italian (Italiano )

Timezone: Europe/Rome (GMT+01:00)

Hi,

thanks for contacting us.

What kind of widgets are the ones you're using? Are them from WooCommerce or from other plugins?

December 21, 2024 at 5:19 am #16535867

deepsonT

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.

widgets.PNG
December 23, 2024 at 10:57 am #16540027

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

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.

Best regards,
Osama

December 24, 2024 at 12:25 pm #16543660

deepsonT

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.

check and let me know

December 24, 2024 at 1:26 pm #16543875

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

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.

Best regards,
Osama

December 26, 2024 at 8:44 am #16546429

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

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?

Best regards,
Osama

December 26, 2024 at 9:37 am #16546519

deepsonT

Okay let me check and update you

December 26, 2024 at 10:33 am #16546602

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Please take your time and let me know if you need further assistance regarding this issue.

Best regards,
Osama