GeoIP service allows the extension to automatically determine a user's country, postcode or city based on their IP address.
Step 1. Download GeoIP Database
Go to https://dev.maxmind.com/geoip/geoip2/geolite2/ and download the latest "GeoLite City Binary Format" file.
Screenshot: Download GeoIP DataBase
Step 2. Unpack and Upload the file
Because GeoLite Legacy databases were discontinued on January 2, 2019, the files available at https://dev.maxmind.com/geoip/geoip2/geolite2/ are provided in .mmdb format.
The following Python script is the best option for converting GeoIP2 MMDB format to legacy .dat format:
Manual database format conversion is a temporary measure! We are going to add support of .mmdb format in the next LightCheckout extension release!
Unpack the GeoLiteCity.dat file from the "GeoLiteCity.dat" package to the /media/geoip/ directory of your Magento® software using an FTP client.
Create a "geoip" folder if you do not have one already.
Screenshot: Uploading the GeoLiteCity.dat file
Step 3. Enable GeoIP
Go to System → Configuration → LightCheckout → GeoIP Settings and enable GeoIP for Country, State, Postcode or City.
Screenshot: GeoIP Settings (Admin panel)
Enable GeoIP for Country
Set "Yes" to enable GeoIP determination for countries.
Enable GeoIP for State/Province
Set "Yes" to enable GeoIP determination for states and provinces.
Note! This option ONLY works with a paid version of MaxMind database.
Enable GeoIP for Zip/Postcode
Set "Yes" to enable GeoIP determination for postal codes.
Enable GeoIP for City
Set "Yes" to enable GeoIP determination for cities.