• Hello,

    On my Woocommerce store, I use a plugin where the visitor can change the currency in the store.

    When the Litespeed cache plugin is activated, it seems that this currency-changing function is reloading in the background every time the visitor moves to a different page on the site.

    I can see this, because as soon as I move to a different page in the store, the prices first show the deafult currency, and then after a few seconds, the prices change to the currency I have selected.

    Is it possible to set the Litespeed plugin so that this curency-changing feature does not get cached or optimized?

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    the WPML should works , could you please explain the steps for how to reproduce the issue ? like click this , click that , go here, go there …etc , and what is the expected result , what is the unexpected ?

    Thread Starter hansnielsen

    (@hansnielsen)

    Hello and thank you for your response.

    It is not WPML that has issues, it is the currency selector plugin. You can see the currency selector to the right of the screen (SEK, EUR, USD).

    Steps to reproduce:

    Go to the site, and while the site is loading, keep an eye on the currency selector to the right. Does the selector first show one currency (SEK, EUR or USD), but when the site is fully loaded, the selector changes to a different currency?

    If yes, click on any other page in the menus, and when the new page is loading, you will see the same thing: first there is one currency displayed in the selector to the right, and then it changes to a different currency.

    If no, manually pick a different currency from the selector, and then move to different pages on the site. Everytime a new page is loading, there will first be one currency, and after a few seconds it will change to a different currency.

    Please note that the selected currency is not the problem. The plugin is displaying (after a few seconds) the chosen currency, but it is annoying that the visitor has to wait for a few seconds before the correct currency is being displayed, everytime he goes to a different page.

    When adding the /?LSCWP_CTRL=before_optm no-optimization code to the end of the page URL, the issue goes away, and the chosen currency is stable. For example, if you are at the store page, then add /?LSCWP_CTRL=before_optm to the end of the URL and click enter, you can see that the currency selector and the prices does not change.

    So it seems to me that the LiteSpeed page optimization for some reason makes the currency selector plugin re-check which currency is selected everytime the vistor goes to a different page on the site, rather than just “remembering” the correct currency, which seems to work when page optimization is off.

    Plugin Support qtwrk

    (@qtwrk)

    you need to make the currency plugin to set a cookie to browser, so we can use it to differentiate

    Thread Starter hansnielsen

    (@hansnielsen)

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.