GithubHelp home page GithubHelp logo

udovicic / magento2-geo-ip2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ytorbyk/magento2-geo-ip2

0.0 2.0 0.0 30 KB

Magento 2 extension: Integrates MaxMind GeoIP2 DB into Magento 2.

License: MIT License

PHP 100.00%

magento2-geo-ip2's Introduction

Welcome

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

More information about the extension you can find at this page - http://www.to-bai.com/magento-2-extensions/geoip2.html

Installation

Please follow next instructions to successfully install ToBai GeoIP2 in your Magento 2 store.

  1. Disable the cache with this command:

     bin/magento cache:disable
    
  2. Add extension to composer require section using this command:

     composer require tobai/magento2-geo-ip2 ~1.0.0
    
  3. Enable module and upgrade with this commands:

     bin/magento module:enable --clear-static-content Tobai_GeoIp2
     bin/magento setup:upgrade
    
  4. 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!

  5. 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.

Before enabling cache you may compile DI. For compiling run command (before and after "var/di" directory must be deleted):

bin/magento setup:di:compile

magento2-geo-ip2's People

Contributors

ytorbyk avatar

Watchers

James Cloos avatar Udovicic avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.