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

GEO IP rules for visitors local currency detection and wprocket

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.

you write GEO IP rules for visitors local currency detection

but how to activate? only needed tyo fill all the fields? https://prnt.sc/-CR2IIg-uMjV

i not find a swtich to geo iop or not in options

then i see the wp rocket solution here

https://pluginus.net/support/topic/fox-doesn-t-work-while-wp-rocket-is-active/

BUT is USELESS cause in this way the cache feature is deactivated on all the site !?!?

so please can you explain the correct way to manage GEO ip and cache pages according the geo-ip of visitor?

DO you use your own internal engine to make the geo ip like AELIA currency plugin does ?

or what is needed? woocommerce Default customer location : geo locating with page caching support ? or what?

in this way the site is TOO SLOW not good for me cache but due ?v query for each visitor pratically it is not cached for all visitors coming from the same country (to serve same cached pages with correct currency)

https://prnt.sc/SZEBw31VRfdT

i'm using now

Default customer location: shop country region...

https://prnt.sc/XPmKvB8PnL3B

so i not understand the FOx approach for GEO iP + WProcket cache dynamic vs cached page

php vs cookie or fox session or what???

thanks

 

this the staging site

NM Staging

here you can see surfing  when the currency  return to euro because in italy

but the price remain in USD

see screenshot

https://prnt.sc/jmypW3MFH0Kt


now seems better but i think you have activated geolocate with plugin caching in woocommerce...

but in this way the site becomes so SLOW because not caching query string right? or

if caching is for each customer so pratically useless as caching

Hello

My test - https://share.pluginus.net/video/v20240329114958.mp4

But I activated this option - https://share.pluginus.net/image/i20240329115157.png - For the plugin to work correctly, woocommerce must be compatible with wp-rocket

I know that can works with woocommerce geolocate  plugin caching and wp rocket

but really the site is not cache so is SLOW

because each visitors is seen as unqiue one so a page is loaded with seconds of delay

https://github.com/woocommerce/woocommerce/issues/9122

SO FOX currency works only with woocommerce geolocate for cache plugin?

is there another way to speed up and cahce correctly for country  code instead ofr !V= query string for each visitor?

But this does not depend on our plugin

SO FOX currency works only with woocommerce geolocate for cache plugin?  -  No! our plugin works regardless of this setting. That is, the plugin receives location data from woocommerce and, based on this data, switches the currency.  And our plugin cannot influence this data. That is, this setting helps the woocommerce functionality to work correctly in this caching mode

the main idea is to make this functionality send correct data - https://docs.wp-rocket.me/article/1524-using-geolocation-geotargeting-plugins

For example, the wp-rocket team claims that this plugin works with caching - https://geotargetingwp.com/ from my side I can show how to replace data from this plugin instead of woocommerce data. In  file - wp-content\plugins\woocommerce-currency-switcher\classes\woocs.php - change  this  code -  https://share.pluginus.net/image/i20240329133747.png to https://share.pluginus.net/image/i20240329133941.png

if (function_exists('geot_country_code')){
$this->storage->set_val('woocs_user_country', $geot_country_code());
} else {
$this->storage->set_val('woocs_user_country', $pd['country']);
}
But I don't think this will help, because it will still be cached. And in fact, it doesn’t really depend on the functionality that determines the location

 

ok understood...

now i'm testing aelia which does in different way it has code inside for geolocalization

not need woo geolocationg and not geotargetingwp....

in this way not use the ?v query string as woo does...

probably geotargetingwp+fox = aelia standalone

i will check thanks

Hello

Ok. Hope this works well for you.

https://share.pluginus.net/image/i20240401104649.png - This is independent of the plugin

I know it...

frankly also Aelia approach that is good and show correctly cached pages

but for my complex  setup of the site slow down the site...

thanks probably i cannot use neither currency switchers

Yes, unfortunately, this is always a compromise between caching and dynamic content

welcome