Skip to content

A Magento 2 module that allows customers to be redirected to the respective version of the store considering their geolocation.

Notifications You must be signed in to change notification settings

cmdepi/module-magento2-geo_ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bina Commerce

About the project

A Magento 2 implementation for my Bina Commerce brand.

This little development allows the redirection of the customers to the respective version of your store considering its geolocalization.

Warning To be able to use this implementation, it is necessary that your store is integrated with Cloudflare using the IP geolocation feature.

Installation

To proceed with the installation of your module, you need to go to the document root of your Magento installation and run the following commands:

composer require bina/module-geo-ip
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:clean
bin/magento cache:flush

Note To execute bin/magento setup:static-content:deploy you need to list all the languages of your store/s using the ISO-639 format. Also, if you are using a platform mode different than production, you need to execute the command using the -f flag: bin/magento setup:static-content:deploy -f (https://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-static-view.html).

Note The command bin/magento cache:flush is optional (https://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-cache.html#config-cli-subcommands-cache-clean).

Usage

In order to find documentation on the use and related issues, visit the official page of this development.

Author

About

A Magento 2 module that allows customers to be redirected to the respective version of the store considering their geolocation.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages