Skip Navigation

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.

This topic contains 18 replies, has 3 voices.

Last updated by Alejandro 4 years, 10 months ago.

Assisted by: Alejandro.

Author Posts
June 23, 2020 at 2:51 pm #6435965

manuelB-6

Hi Alejandro,

I just to test in Firefox, Chrome and IE and problem continues.

I have cleaned the browser cache to avoid problems and test it, and i have the same issue.

Do i have to add more cookies to the exclusions?

Please folow the steps i commented to Andreas:

1) Enter in Chrome
2) Clean browser cache

3) Go to hidden link
4) Go to hidden link
5) Go to hidden link
6) Go back to home page: hidden link

7) Until here you saw the euro currency. Now, please change the currency to dollars.

8) Go to hidden link ¿What currency do you see? If euros, here you have the issue.
9) Go to hidden link ¿What currency do you see?
10) Go back to home page: hidden link ¿What currency do you see?

Do you saw the problem?

Thanks for your help.

June 24, 2020 at 9:25 am #6442459

Alejandro
WPML Supporter since 02/2018

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

I see that cookie that i asked you to exclude from the cache is never set so that was definitely a trick my browser played on me.

I tried on a different browser and replicated the problem. this time i noticed that while logged out, the cookie that i mentioned was never set, so of course my proposed solution wouldn't work.

I noticed, instead that the WooCommerce Session created a cookie so i excluded that one and that seemed to do the trick: hidden link

the Cookie in question is

wp_woocommerce_session

and that one is created by WooCommerce.

Could you check if that works on your end as well and also if my video contains maybe a wrong step i followed?

after the video i followed all the other steps you had mentioned and they worked, so maybe that is the solution to the problem.

Let me know how it goes.

June 25, 2020 at 11:32 am #6452279

manuelB-6

Hi Alejandro,

I just test and it works fine now, we applied it in the main site.

A issue, with this modification, seems like when you change the currency the web works without cache, is this the way like it would have to works?

I mean, if the user access and doesn´t modify the currency it loads the site with the cache, and if it change the currency, it load the site without use the cache. I seems like more slow.

I don´t know if that is the normal way how it works.

Many thanks for your help.

June 25, 2020 at 12:18 pm #6452893

Alejandro
WPML Supporter since 02/2018

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Hm, what you're excluding here is a cookie, so in theory it shouldn't create issues with page cache. by reading WooCommerce's Documentation i can see that that cookie basically has the correct info that WooCommerce uses to find the content in the DB:

https://docs.woocommerce.com/document/woocommerce-cookies/

But i doubt this would make a big effect on this. i checked this yesterday before my answer and the only thing i could see is that since the page was not preloaded (i had to delete the cache many times), the site needed some time to be as fast as it could again.

However our developers are also trying to check what's going on because apparently the problem is not only with us (WPML) but it also has to do with WordPress + cache plugins.