Skip to content

WEB Vision – GeoIP database updater

The module automatically updates the GeoLite2 City database that PrestaShop uses for geolocation of visitors (determining the country from the IP address).

  • Downloads the current GeoLite2 City database and stores it where PrestaShop uses it (app/Resources/geoip/GeoLite2-City.mmdb).
  • Updates it automatically via cron (an address or the command line), or with a button.
  • It checks the new database before replacing the old one. On an error the original stays.
  • Shows the database status and warns if geolocation is off or the database is old.
  • Data is downloaded from a mirror of the geolite2-city package (jsDelivr), without a MaxMind account or key.
  • PrestaShop 8.0 to 9.x, PHP 7.2 or newer.
  • The PHP extensions curl and zlib.
  • Server access to cdn.jsdelivr.net.
  • Write access to the app/Resources/geoip/ folder.
  • A valid license (the .lic file is in the downloaded package).
  1. Installation and first run: including cron.
  2. Settings and database status
  3. Troubleshooting
Was this article helpful?