All of a sudden the currency switcher stopped working. When a click on a different language nothing is loaded.
I am thinking that the problem could be related to the cache, therefore the caching optimization that I run on my website.
I have already tried to exclude the pages with cookies wp_woocommerce_session and _wclm_dashboard_currency but this could not solve the problem. The currency switch appears to be stuck on the first language.
Could you please tell me the exact JS of the currency switcher so that I can try to exclude it from caching? I would need the precise JS (java script) name.
To verify if this is a caching issue, can you please check if the currency switcher works when you are logged in to the site? If it works only when you are logged in to the site generally it could be due to caches.
Can you please also let me know what caching setup/plugin/tools do you use on the site?
Also, can you please go to wp-admin -> WPML -> Languages on your site and make sure the "Store a language cookie to support language filtering for AJAX" option there is enabled ?
To troubleshoot the issue further, I would need to take a closer look at your site. So would you please mind sharing temporary access (WP-Admin and FTP) to your site? Preferably to a test site where the problem has been replicated.
I have enabled a private reply for you to share the credentials securely, which means only you and I have access to it.
IMPORTANT: Please take a complete backup of the site first to avoid data loss.
✙ I would additionally need your permission to make a copy of the site with plugins like Duplicator and deploy it in my local machine to test the issue further.
The issue indeed seem to be Compatibility issue between the FlyingPress and WCML. I see if I deactivate FlyingPress the currency switching starts to work fine.
Since the plugin is not listed in out compatibility list at https://wpml.org/plugin/ some issues might be expected.
Also, I recommend you contact the plugin provider and ask them to join our Go Global program linked next so that we can collaborate with the plugin provider to make it compatible with WPML/WCML.
After my last reply I activated Flyingpress again then went to Flygingpress -> Cache and set "wp_woocommerce_session" to "Bypass cookies" and it still seems to work fine now!
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.