
Homepage Helden GmbH(@homepage-helden-gmbh)
14 Posts
Customers
Quote from Homepage Helden GmbH on January 8, 2020, 16:47
Hi there,
the issue is as follows:
Two currencies: EUR and CHF.
CHF is enforced by GeoIP rules and only for Switzerland (Schweiz)
If I enable caching the page I open in the front-end will be cached for the first time.
If I open the page from Switzerland, the page is cached with CHF, if I open it from any other country in EUR.
Now if I open a cached "CHF page" from any other country, the currency is first displayed in CHF, then switches to EUR after a few seconds.
What can I do to fix this? How can we eliminate the time it takes to switch?
System: WordPress 5.3.2
All infos: https://imgur.com/a/i9FSBqD
Chrome extension I use to simulate Switzerland: https://chrome.google.com/webstore/detail/hola-free-vpn-proxy-unblo/gkojfkhlekighikafcpjkiklfbnlmeio/
Hi there,
the issue is as follows:
Two currencies: EUR and CHF.
CHF is enforced by GeoIP rules and only for Switzerland (Schweiz)
If I enable caching the page I open in the front-end will be cached for the first time.
If I open the page from Switzerland, the page is cached with CHF, if I open it from any other country in EUR.
Now if I open a cached"CHF page" from any other country, the currency is first displayed in CHF, then switches to EUR after a few seconds.
What can I do to fix this? How can we eliminate the time it takes to switch?
System: WordPress 5.3.2
All infos: https://imgur.com/a/i9FSBqD
Chrome extension I use to simulate Switzerland: https://chrome.google.com/webstore/detail/hola-free-vpn-proxy-unblo/gkojfkhlekighikafcpjkiklfbnlmeio/

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on January 9, 2020, 12:25
Hello
How can we eliminate the time it takes to switch? - This is a price redraw in ajax mode. Unfortunately this cannot be changed for cached pages.
Hello
How can we eliminate the time it takes to switch? - This is a price redraw in ajax mode. Unfortunately this cannot be changed for cached pages.

Homepage Helden GmbH(@homepage-helden-gmbh)
14 PostsTopic Author
Customers
Quote from Homepage Helden GmbH on January 9, 2020, 14:35
So when does the AJAX mode switch the prices?
Is it on DOM ready, or on AJAX ready?
Is it possible to have a spinner instead of the prices? So that it looks like a lazy load?
Then the customer will only see the prices once they have been loaded with AJAX...
So when does the AJAX mode switch the prices?
Is it on DOM ready, or on AJAX ready?
Is it possible to have a spinner instead of the prices? So that it looks like a lazy load?
Then the customer will only see the prices once they have been loaded with AJAX...

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on January 10, 2020, 12:27
Hello
Is it on DOM ready - Yes
Is it possible to have a spinner instead of the prices? So that it looks like a lazy load? - Unfortunately, the plugin does not have such a feature. But I will pass your idea to the developer
Hello
Is it on DOM ready - Yes
Is it possible to have a spinner instead of the prices? So that it looks like a lazy load? - Unfortunately, the plugin does not have such a feature. But I will pass your idea to the developer

Homepage Helden GmbH(@homepage-helden-gmbh)
14 PostsTopic Author
Customers
Quote from Homepage Helden GmbH on January 24, 2020, 11:57
Hi Pablo,
any feedback from the developers?
Best regards!
Hi Pablo,
any feedback from the developers?
Best regards!

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on January 24, 2020, 12:54
Hello
Your idea has been added to the "to do" list. But this will be implemented in the new version of the plugin. Unfortunately, I can’t say the release date.
Hello
Your idea has been added to the"to do" list. But this will be implemented in the new version of the plugin. Unfortunately, I can’t say the release date.