sanjeev-kr/geolocation-currency
最新稳定版本:2.0.4
Composer 安装命令:
composer require sanjeev-kr/geolocation-currency
包简介
Magento 2 module auto select currency as per mapping
README 文档
README
Sanjeev_GeolocationCurrency is a module for Magento 2. This module sets currency for the user, according to geolocation mapping via ipinfo.io api.
Install with Composer
composer require sanjeev-kr/geolocation-currency
php bin/magento module:enable Sanjeev_GeolocationCurrency
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
Install Manually
- Download zip and extract
- Create a new directory Sanjeev/GeolocationCurrency in app/code directory and copy and paste files in Sanjeev/GeolocationCurrency directory.
- And run below commands
php bin/magento module:enable Sanjeev_GeolocationCurrency
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
How to use
- In admin go to Stores -> Configuration -> GENERAL -> Currency Setup -> Currency Options -> Allowed Currencies
- Select two or more currencies including Base Currency
- In admin go to Stores -> Configuration -> GENERAL -> Currency Setup -> Geolocation Currency -> Enable set Yes and enter ipinfo.io Token
- In admin go to Stores -> Currency Rates and add rates for the allowed currencies either manually or via API.
- In admin go to Stores -> Geolocation Currency -> Map Currency Country.
- Add New Record to map the currency and country. Please note map only those currencies which are allowed in second step.
统计信息
- 总下载量: 341
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2024-11-24