Incorrect currencies/ prices showing on overview and detail pages when cache is enabled (W3TotalCache - Redis)
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from media@gofluo.com on January 31, 2023, 20:36Hi Pablo, the exact same thing we described earlier is happening again without any code edits... I can confirm that the prices on the overview page is using the exact same template you shared. Can you please look into this, our client is losing important off-shore investors with the currency feature being very unreliable.
Below a copy of the problem we described earlier:
We have been testing a bit more and what we notice is that when we switch countries with VPN, the prices on the detail page are always showing correct with the first load but the overview page is taking a bit longer. At the start we thought, it's just taking some time until the new IP is set, but now we discovered that the prices on the overview page are only showing correct after we opened a detail page first. Now our question is, is this only happening when a user switches countries or can this also happen for normal users that don't switch IP's?Users that are not using a VPN now confirm they experience the exact same problem described above.
Hi Pablo, the exact same thing we described earlier is happening again without any code edits... I can confirm that the prices on the overview page is using the exact same template you shared. Can you please look into this, our client is losing important off-shore investors with the currency feature being very unreliable.
Below a copy of the problem we described earlier:
We have been testing a bit more and what we notice is that when we switch countries with VPN, the prices on the detail page are always showing correct with the first load but the overview page is taking a bit longer. At the start we thought, it's just taking some time until the new IP is set, but now we discovered that the prices on the overview page are only showing correct after we opened a detail page first. Now our question is, is this only happening when a user switches countries or can this also happen for normal users that don't switch IP's?
Users that are not using a VPN now confirm they experience the exact same problem described above.
Quote from Pablo Borysenco on February 1, 2023, 11:09Hello
Ok! I don't seem to understand you
Please describe in more detail what should I do to get this error. Or make a video with the error
Hello
Ok! I don't seem to understand you
Please describe in more detail what should I do to get this error. Or make a video with the error
Quote from media@gofluo.com on February 1, 2023, 15:47Hi Pablo, as described incorrect currencies sometimes show on the overview page. In the video below you can see that the site is displaying Euro currency while surfing from USA with Nord VPN. After opening a detail page, the overview page always shows the correct currency.
https://vimeo.com/794869108
Ps: in the video, you can see in the HTML that the correct template is used (like you described). I also show the Ajax response, to give you more info.
Hi Pablo, as described incorrect currencies sometimes show on the overview page. In the video below you can see that the site is displaying Euro currency while surfing from USA with Nord VPN. After opening a detail page, the overview page always shows the correct currency.
Ps: in the video, you can see in the HTML that the correct template is used (like you described). I also show the Ajax response, to give you more info.
Quote from Pablo Borysenco on February 2, 2023, 11:34Hello
is displaying Euro currency while surfing from USA with Nord VPN. - Better use a normal service that really simulates access from another country
Please read this - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me
If no luck - Please drop me wp-admin access - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130637.png
Hello
is displaying Euro currency while surfing from USA with Nord VPN. - Better use a normal service that really simulates access from another country
Please read this - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me
If no luck - Please drop me wp-admin access - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130637.png
Quote from media@gofluo.com on February 2, 2023, 15:43Hi Pablo,
Users that are in the USA (without VPN), are also experiencing the problem so there is nothing wrong with the VPN. Some time ago I read about a service you recommend in one of your articles, but this one was not working.
I read the article you shared, already read it some time ago. What exactly do you want us to try, change our way of testing? Like confirmed a few days ago, we discovered that the problem is also happening for normal users without VPN. So don't see any advantage in changing our testing method. Or are you refering to the last part in the article with the server related issues with 'REMOTE_ADDR'?
I will give you wp-admin access to our live environment.
Hi Pablo,
Users that are in the USA (without VPN), are also experiencing the problem so there is nothing wrong with the VPN. Some time ago I read about a service you recommend in one of your articles, but this one was not working.
I read the article you shared, already read it some time ago. What exactly do you want us to try, change our way of testing? Like confirmed a few days ago, we discovered that the problem is also happening for normal users without VPN. So don't see any advantage in changing our testing method. Or are you refering to the last part in the article with the server related issues with 'REMOTE_ADDR'?
I will give you wp-admin access to our live environment.
Quote from media@gofluo.com on February 2, 2023, 15:45Admin credentials are saved, can you confirm?
Admin credentials are saved, can you confirm?
Quote from Pablo Borysenco on February 3, 2023, 11:16Hello
Users that are in the USA (without VPN), are also experiencing the problem so there is nothing wrong with the VPN. - Please note that GeoIP rules only work for the first visit. Can you guarantee that your VPN 100% simulates visiting the site from another device? (I doubt it). If not, then your tests make no sense. And you should follow my advice.
Please read this - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me - You are using the caching plugin you should enable cache compatibility with geolocation - https://share.pluginus.net/image/i20230203085459.png
My test - https://c2n.me/4hK9nAO - As you can see, in the real test, woocommerce can't determine the user's location. So your site settings are incompatible with woocommerce.
My plugin is getting data from woocommerce( In my test it is Italy ) and correctly switched the currency to EUR (as you configured in the GeoIP rules)
Hello
Users that are in the USA (without VPN), are also experiencing the problem so there is nothing wrong with the VPN. - Please note that GeoIP rules only work for the first visit. Can you guarantee that your VPN 100% simulates visiting the site from another device? (I doubt it). If not, then your tests make no sense. And you should follow my advice.
Please read this - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me - You are using the caching plugin you should enable cache compatibility with geolocation - https://share.pluginus.net/image/i20230203085459.png
My test - https://c2n.me/4hK9nAO - As you can see, in the real test, woocommerce can't determine the user's location. So your site settings are incompatible with woocommerce.
My plugin is getting data from woocommerce( In my test it is Italy ) and correctly switched the currency to EUR (as you configured in the GeoIP rules)
Quote from media@gofluo.com on February 3, 2023, 12:26Hi Pablo,
1. VPN does not visit from another device each time. If it only works for the first visit, how can we get different currencies while testing then? Like described sometimes the switch does not work, but we also had many successful tests without switching devices.
2. Can you share your advice how to test, you have a service that can simulate a real visit from another country?
3. We had this function enabled some weeks ago, but at that time it did not solve our issues. Maybe it works now, while we implemented some changes to the plugin instructed by you. We disabled the feature later, because in our experience it can have a negative result on page speed (it sometime redirect). We will test this function now with VPN already, but please let us know how to test this properly.
Hi Pablo,
1. VPN does not visit from another device each time. If it only works for the first visit, how can we get different currencies while testing then? Like described sometimes the switch does not work, but we also had many successful tests without switching devices.
2. Can you share your advice how to test, you have a service that can simulate a real visit from another country?
3. We had this function enabled some weeks ago, but at that time it did not solve our issues. Maybe it works now, while we implemented some changes to the plugin instructed by you. We disabled the feature later, because in our experience it can have a negative result on page speed (it sometime redirect). We will test this function now with VPN already, but please let us know how to test this properly.
Quote from media@gofluo.com on February 3, 2023, 12:32We saw somewhere in one of your articles, you recommend to use this tool: https://www.locabrowser.com/. But this tool gives an error, and is not working.
We saw somewhere in one of your articles, you recommend to use this tool: https://www.locabrowser.com/. But this tool gives an error, and is not working.
Quote from media@gofluo.com on February 3, 2023, 12:41Trying with https://geopeeker.com/ now, but these tools make screenshot when the page loads. The price is loaded with Ajax after a few seconds, so I am not seeing any price.
Trying with https://geopeeker.com/ now, but these tools make screenshot when the page loads. The price is loaded with Ajax after a few seconds, so I am not seeing any price.
Quote from Pablo Borysenco on February 3, 2023, 13:22I asked you to read this article - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me - There are descriptions of how and where to test
We disabled the feature later, because in our experience it can have a negative result on page speed - Always be careful with setting up caching plugins (this is not a magic tool). Your site will be very fast if your server sends a screenshot/image of your template instead of loading the page, but any dynamic data will not work
But this tool gives an error, and is not working - I made you my test video with this tool
but these tools make screenshot when the page loads. The price is loaded with Ajax after a few seconds, so I am not seeing any price. - For this, I made a test page for you. - https://your_site.com/geoip/ - This page displays the country and the current currency, this is enough to check how the GeoIP rules work
I asked you to read this article - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me - There are descriptions of how and where to test
We disabled the feature later, because in our experience it can have a negative result on page speed - Always be careful with setting up caching plugins (this is not a magic tool). Your site will be very fast if your server sends a screenshot/image of your template instead of loading the page, but any dynamic data will not work
But this tool gives an error, and is not working - I made you my test video with this tool
but these tools make screenshot when the page loads. The price is loaded with Ajax after a few seconds, so I am not seeing any price. - For this, I made a test page for you. - https://your_site.com/geoip/ - This page displays the country and the current currency, this is enough to check how the GeoIP rules work
Quote from media@gofluo.com on February 3, 2023, 15:33Hi Pablo,
We read all articles already for the last month. The article is linking to the https://www.locabrowser.com/ tool, like I already mentioned this one is not functional at the moment. Maybe it's working for you, but from the Netherlands it's not. Furthermore there are some tips on using a different browser every time you test, but this would mean you only test once and we already opened the website in all browsers once.
Thanks for setting up the test page, we will start testing with https://geopeeker.com/. But please note, I think it's always important to test on real life pages. Especially because the tool is always working for us on the detail page, but not on the overview page. The same could be the case for your test page.
Hi Pablo,
We read all articles already for the last month. The article is linking to the https://www.locabrowser.com/ tool, like I already mentioned this one is not functional at the moment. Maybe it's working for you, but from the Netherlands it's not. Furthermore there are some tips on using a different browser every time you test, but this would mean you only test once and we already opened the website in all browsers once.
Thanks for setting up the test page, we will start testing with https://geopeeker.com/. But please note, I think it's always important to test on real life pages. Especially because the tool is always working for us on the detail page, but not on the overview page. The same could be the case for your test page.
Quote from media@gofluo.com on February 3, 2023, 18:10Hi Pablo, we tested with a new tool, which sometimes shows our prices on the overview (depending on connection). Your test page and our overview pages are showing the correct currencies. Maybe good tool for you to mention in your article: https://testlocal.ly/. We will test on live next week and let you know if the new solution is solid.
Hi Pablo, we tested with a new tool, which sometimes shows our prices on the overview (depending on connection). Your test page and our overview pages are showing the correct currencies. Maybe good tool for you to mention in your article: https://testlocal.ly/. We will test on live next week and let you know if the new solution is solid.
Quote from Pablo Borysenco on February 6, 2023, 11:53Hello
this one is not functional at the moment. - I did the test and it works. I gave you a video of this test\ but from the Netherlands it's not. - I am doing the test from a country that is not far from Netherlands. So I don't think this site has a location restriction.
Maybe good tool for you to mention in your article: https://testlocal.ly/ - Thank you for your cooperation! We'll do a test
I'm waiting for your test results
Hello
this one is not functional at the moment. - I did the test and it works. I gave you a video of this test\ but from the Netherlands it's not. - I am doing the test from a country that is not far from Netherlands. So I don't think this site has a location restriction.
Maybe good tool for you to mention in your article: https://testlocal.ly/ - Thank you for your cooperation! We'll do a test
I'm waiting for your test results
Quote from media@gofluo.com on March 8, 2023, 14:54Hi Pablo,
Sorry for my late reply, the currencies where showing correct with the tests we ran with testlocal.ly. After enabling Geo location with page caching support, we didn't experience incorrect currencies for a few weeks. We have been quite busy the last month and think it would be benificial to share our experiences here for other to see. Especially for users who are using the W3TotalCache plugin:
- Like discussed in this threat we had to enable Geo location with page support in WooCommerce, please note that this is quite a heavy change that needs caution.
- We had to enable a setting in the W3TotalCache plugin so query parameter links would also be cached, while page cache was not working without that setting and our site became very slow.
- After doing that, we experienced redirect problems while the plugin seems to cache the redirects. At average our site was down 1 hour a day, because of infinite redirect loops.
- Now we setup a custom proxy server, so we can arrange all caching settings ourselves.
Ps: @Pablo now we are not using a caching plugin, should we disable the 'I am using cache plugin on my site' setting in WOOCS? If we read the text, I would say no but our custom cache implementation is kinda doing the same as the plugin we used so we are not sure.
Hi Pablo,
Sorry for my late reply, the currencies where showing correct with the tests we ran with testlocal.ly. After enabling Geo location with page caching support, we didn't experience incorrect currencies for a few weeks. We have been quite busy the last month and think it would be benificial to share our experiences here for other to see. Especially for users who are using the W3TotalCache plugin:
- Like discussed in this threat we had to enable Geo location with page support in WooCommerce, please note that this is quite a heavy change that needs caution.
- We had to enable a setting in the W3TotalCache plugin so query parameter links would also be cached, while page cache was not working without that setting and our site became very slow.
- After doing that, we experienced redirect problems while the plugin seems to cache the redirects. At average our site was down 1 hour a day, because of infinite redirect loops.
- Now we setup a custom proxy server, so we can arrange all caching settings ourselves.
Ps: @Pablo now we are not using a caching plugin, should we disable the 'I am using cache plugin on my site' setting in WOOCS? If we read the text, I would say no but our custom cache implementation is kinda doing the same as the plugin we used so we are not sure.
Quote from media@gofluo.com on March 9, 2023, 09:41And could you explain what the settings does exactly, so we have a better understanding how the plugin works. I am referring to the checkbox 'I am using cache plugin on my site'
And could you explain what the settings does exactly, so we have a better understanding how the plugin works. I am referring to the checkbox 'I am using cache plugin on my site'
Quote from Pablo Borysenco on March 9, 2023, 11:42Hello
I think this option should be enabled.
'I am using cache plugin on my site' - How it works: After full loading the page, the plugin collects all the data on the prices on the page and the current currency. Further, WOOCS/FOX makes AJAX request to compare the currency on the page with the real user currency. If these currencies do not coincide, the plugin forms new prices and returns this data for (JS)redrawing not correct prices
Hello
I think this option should be enabled.
'I am using cache plugin on my site' - How it works: After full loading the page, the plugin collects all the data on the prices on the page and the current currency. Further, WOOCS/FOX makes AJAX request to compare the currency on the page with the real user currency. If these currencies do not coincide, the plugin forms new prices and returns this data for (JS)redrawing not correct prices