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

GeoIP

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.

In order to get the default currency to be selected accurately based on the IP, we've selected the"GeoLocate (with page cache support option)" for the Woo > Settings > Default Customer Location value.  Unfortunately, this forces a redirect when people open https://www.makeafort.fun/ to redirect to something like https://www.makeafort.fun/?v=7516fd43adaa which slows our site a bit.  Without having this value selected for the Default Customer Location value, visitors would often get the wrong default currency.

We are using Cloudflare and Cloudflare has an option to add CF-IPCountry HTTP header with the country.  Any way to have WOOCS use this HTTP header for the currency instead of the GeoIP lookup in Woo so we can turn off this option causing the redirect?

 

 

Hello

In  this  case  use a hook - 'woocommerce_geolocate_ip'  - https://woocommerce.wp-a2z.org/oik_api/wc_geolocationgeolocate_ip/