Hi,
The Geolocation is a function supported by WooCommerce. WooCommerce uses the MaxMind GeoLite database for geolocation, The GeoLite database has been discontinued by MaxMind, and GeoLite2 is the replacement. WooCommerce 3.4 adds support for and integrates WooCommerce with GeoLite2 to ensure geolocation will continue working correctly for the forseeable future. Read more about WC 3.4
Price Based on Country have been tested with 3.4, the message is showing because WooCommerce does not download the new GeoLite2 automatically on the update to 3.4 and Price Based on Country is detecting the GeoIP database is not installed on your site.
To solve it you can :
1. Force that WooCommerce to download the GeoIP database from WooCommerce settings:
+ Go to WooCommerce -> General settings, Set the option “Default customer location” to “No Location by default”.
+ Save changes.
+ Return back the option “Default customer location” to “Geolocate” (or “Geolocate with page chaching support”) and save changes.
2. If option 1 does not work, you will have to upload the GeoIP manually.
Regards,
Oscar.
-
This reply was modified 8 years ago by
Oscar Gare.
-
This reply was modified 8 years ago by
Oscar Gare.
Hi Oscar,
Thank you very much for your response. That explains it much more clearer to me.
I have tried option 1, but as I am currently in the UK I cannot detect if the geolocation is working/if it shows the currency as dollars for US customers. I will have to wait to find out.
If not, I will have to look into the option 2.
Hi Oscar, I have done some more digging and read the article you sent from woocommerce. Turns out the GeoLite2 requires a minimum PHP version of 5.4 anD i think my site is less than this. It is very important I get the geolocation feature, have you got an old version of the plugin that I could re-install as a short term fix?
It says on woocommerce “The whole process is automatic and no further action is needed on the store owner’s part to keep geolocation working correctly.”
I havent actaully installed the woocommerce version 3.4 yet could this be why?