mygento/

geoip

适用于 Magento 的 Geo IP 模块

安装次数: 3,133

依赖项: 0

建议者: 0

安全性: 0

星级: 3

关注者: 2

分支: 0

公开问题: 0

类型:magento-module

1.1.1 2019-09-23 09:49 UTC

This package is auto-updated.

Last update: 2024-08-23 20:03:44 UTC


README

Build Status Code Climate Scrutinizer Code Quality

在 Magento 中使用 Sypex Geo DB

Sypex Geo 数据库 - 在使用和测试过程中 - 在俄罗斯确定城市比类似的公共数据库更好。

用法

  1. 将以下代码插入 head.phtml 中:init(); ?>
  2. 获取当前城市:getCurrentCity(); ?>
  3. 您可以通过向 geoip/ajax/set 控制器发送 POST ($postData['city']) 来设置当前城市。