PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Plugin ignoring GeoIP rules and not displaying correct currency.

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 please
If 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.

Hi,

 

On my site: http://offthewallprints.co/ the welcome currency is GBP, and i have set the GeoIP rules to display GBP when IP address is in UK. But when visiting the website (i am in the UK), it displays USD on the product pages and ignoring the settings in the GeoIP area.

 

Why does it do this?

thanks

Hello

Please  read  this  - https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me/

Please note that the GeoIP rules only works for the first visit, then the plugin stores the last currency of the user

 

Thanks for the article, but it doesnt seem to fix my issue. I have updated the setting etc as instructed - but on first visit the currency always defaults to USD. even when i test on localbrowser.com in different countries - USD is always the first currency to appear.

USD is not the welcome currency set either so theres no reason why it should be doing this. I think I need some input from the plugin support team to help fix the issue please.

 

 

Hello

Ok!  Create  a  custom  page  with  shortcodes  [woocs_show_current_currency]  [woocs_geo_hello]  and drop  me  a  link

Drop me  screenshots  of  the  plugin settings

Great thanks Pablo!

See attached screenshots, and new page link as requested is: https://offthewallprints.co/41224-2/

 

 

 

Hello

Paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png

Your server incorrectly detects the user's location - https://c2n.me/4bD3Pio

More likely this problem is caused by a caching plugin, or server side caching.

Done the purchase code.

Let me know what you find.

The cache settings are as instructed? and shouldnt caching essentially reset the geoip detection on the pages?

Hello

But that doesn't depend on my plugin. My plugin uses native woocommerce functionality for location

In fact, your cache settings do not work correctly with woocommerce

Try  to  disable  all  cache  and do a test

How can you tell my cache settings are not working correctly with woocommerce?

Ive set the cache settings in WP rocket as instructed but the issue didnt occur when i deactivated the plugin and tested.

What are the incorrect settings and what should they be to make your plugin work correctly?

 

thanks

Hello

My plugin is working correctly!

The problem is that woocommerce incorrectly detects the user's location, and this error is caused by the caching plugin

Firstly  check  this option - https://c2n.me/4bFzOSJ.png

Ive set the cache settings in WP rocket as instructed  - what instructions? Are these instructions recommended for woocommerce?

 

The instructions from your plugin. that option is already selected from your screenshot.

 

So what is the incorrect setting in woocommerce that is stopping the plugin from working properly?

what is the incorrect setting in woocommerce that is stopping the plugin from working properly  - I probably explained to you incorrectly.  Woocommerce+WOOCS - work fine.  The problem is caching

Woocommerce + you cache settings (In the caching plugin) - user location does not work

Please drop  me wp-admin access - https://c2n.me/43SC6rb.png ->https://c2n.me/42BAoj4.png

Ah ok. just done admin access

thanks

Hello

I  clered cache  and  did  a test -  https://c2n.me/4bGAtBF - Everything seems to be working correctly.

So weird, I tried that and problem ocurred again the next day.

but thank you for checking and fixing.

in WP Rocket I have updated the global cache clear setting to 10 hours to stop this happening periodically? that sound ok?

Hello

I did a test today - https://c2n.me/4bHvffW - it seems to work correctly so far

I have updated the global cache clear setting to 10 hours to stop this happening periodically? that sound ok? - Unfortunately I am not a developer of the WP Rocket  or woocommerce

This could also be a server side problem. This happens very often with Cloudflare. - https://stackoverflow.com/questions/65833337/use-cloudflare-provided-country-in-place-of-wordpress-internal-country-for-prici

ok thanks for your help!

Hello

Welcome;)