Step Description | Expected result |
---|---|
Go to BO > Localization > Geolocation | You’ll have the message “Since December 30, 2019, you need to register for a [MaxMind |
Enable “Geolocation by IP adresse” and save | You should have the red notification “The geolocation database is unavailable” |
* Download this files https://drive.google.com/file/d/18IsSSAURvOgwKb_ZI6wiXpgscujx1lDT/view?usp=sharing * Put it in [yourshopfiles]/app/Ressources/geoip * Reload the webpage |
* You’ll have a file .mmdb * you should only have index.php and the geolite-city mmdb * you’ll not have the yellow notification |
Enable “Geolocation by IP adresse” and save | You should have the green notification “Update successful” |
Modify your files FrontController.php in [yourshopfile]/classes/controler and save | Your frontController should be modified |
Go to FO | You should see the FO as usual |
* Return to BO > Localization > Geolocation * In IP addresse whitelist, Erase “127.0.0.1” from the list * Clic on Save |
* The Geolocation page is displayed * The first in the list should be " ::1 “ * You’ve a green notification Update successful |
Go to FO | You should see a “403 Forbidden " and " You cannot access this store from your country. We apologize for the inconvenience. " |
* Return to BO > Localization > Geolocation * Disable “geolocation by IP address” and Save |
* The Geolocation page is displayed * You’ve a green notification Update successful |
Go to FO | You should see the FO as usual |