tobai / magento2-geo-ip2
Integrate MaxMind GeoIP2 DB into Magento 2.
Installs: 57 015
Dependents: 2
Suggesters: 0
Security: 0
Stars: 15
Watchers: 4
Forks: 6
Open Issues: 7
Type:magento2-module
Requires
- geoip2/geoip2: ~2.0
This package is not auto-updated.
Last update: 2020-08-21 20:22:38 UTC
README
We are happy that you have chosen our free extension ToBai GeoIP2. This extension was created especially for Magento 2 developers to make it easier for them to work with different IP databases.
- It is pre-defined 2 free databases for Country and City detection from maxmind.com
- It is possible to easily add any other IP database
- There are special settings in extension configs to set connection with other databases using web service client, e.g. paid maxmind.com databases
Installation
Please follow next instructions to successfully install ToBai GeoIP2 in your Magento 2 store.
-
Disable the cache with this command:
bin/magento cache:disable
-
Add extension to composer require section using this command:
composer require tobai/magento2-geo-ip2
-
Enable module and upgrade with this commands:
bin/magento module:enable Tobai_GeoIp2 bin/magento setup:upgrade
-
Check under Stores->Configuration->Advanced->Advanced that the module Tobai_GeoIp2 is present. If Tobai_GeoIp2 displays in alphabetical order, you successfully installed the reference module!
-
Flush and enable the cache with this commands:
bin/magento cache:flush bin/magento cache:enable
Now you should see new ToBai tab at Stores > Configuration. When you click at this tab you will see GeoIP2 section.