定制 tobai/magento2-geo-store-switcher 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tobai/magento2-geo-store-switcher

Composer 安装命令:

composer require tobai/magento2-geo-store-switcher

包简介

Switching websites/stores depending on current country.

关键字:

README 文档

README

ToBai Geo Store Switcher is a Magento 2 extension. It improves shopping experience on your Magento 2 Store. The module switches to the corresponding Website or Store View and your customers always get correct language locale, can use the currency which best suites them, get correct shipping rates and taxes. ToBai Geo Store Switcher extension uses MaxMind technology which accurately detects geo location of the customer by IP.

Installation

Please follow next instructions to successfully install ToBai Geo Store Switcher 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-store-switcher
    
  3. Enable module and upgrade with this commands:

     bin/magento module:enable Tobai_GeoIp2
     bin/magento module:enable Tobai_GeoStoreSwitcher
     bin/magento setup:upgrade
    
  4. Check under Stores->Configuration->Advanced->Advanced that the module ToBai_GeoStoreSwitcher is present. There also should be present ToBai_GeoIP2 extension which installs automatically. ToBai Geo Store Switcher is depended on ToBai GeoIP2 extension. If ToBai_GeoStoreSwitcher and ToBai_GeoIP2 display 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 at Stores > Configuration new ToBai tab. When you click at this tab you will see Geo Store Switcher section.

Important

Since the Store Switcher extension depends on ToBai_GeoIP2 it should be configured previously.

Release notes:

v1.0.0

  • First release.

v1.1.0

  • Added support of store scope for enabling/disabling.

  • Added support of website scope for all configuration.

  • Added ability to disable module for specific IPs and/or user agents.

v1.1.1

  • Bug: no redirect from non-base url.

v2.0.0

  • Refactored the extension.
  • Removed overwriting default store/store group/website.

统计信息

  • 总下载量: 12.44k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 36
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 35
  • Watchers: 6
  • Forks: 14
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-12-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固