nouraZ
|
Hi Andreas, thank you for your reply.
I will add this in later today when I have access to my laptop and let you know how it goes. Thanks!
|
Andreas W.
Supporter
Languages:
English (English )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
Hello Noura,
I did not hear back from you yet.
Could you please confirm if the suggested workaround solved the issue for you?
Best regards
Andreas
|
nouraZ
|
Hello Andreas, sorry for my late reply. I was traveling and did not have great internet access.
I have added the snippet to my functions file and it seems to have done the trick!
Thank you so much!
I would like to ask what exactly the function added did just to understand the workaround if possible.
Thank you again so so much!
Noura
|
Andreas W.
Supporter
Languages:
English (English )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
Hello,
The issue is a cache issue and this filter hook should force the WPML/WCML caching for the currency switcher.
We had a similar issue with other cache plugins in the past:
hidden link
Best regards
Andreas
|
nouraZ
|
Hello Andreas, Thank you for the explanation.
Now that the issue is resolved, I have noticed that when I initially make the currency switch on the shop page all the prices change but if I use a filter it goes back to the original currency. And if I refresh the page that doesn't help either because it resets the whole page and filters...
Any ideas on this?
PS. the staging site has been removed so please do let me know if you need me to create a new one for you to see on the back end, or I could also just make you a new user on the actual site.
Looking forward to hearing from you.
Have a great day ahead,
Noura
|
Andreas W.
Supporter
Languages:
English (English )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
Hello,
Yes, if possible, please set up a new staging so that I can run some tests and from there we will try to recreate the issue and escalate it internally.
If you will not be able to set up a staging, I can offer to take a copy of your live site for testing it on a virtual server.
The private reply form is enabled again.
Best regards
Andreas
|