mltest/module-developertest
最新稳定版本:2.0.0
Composer 安装命令:
composer require mltest/module-developertest
包简介
ML DeveloperTest Extension for allow the admin to block the product from being ordered from one or more countries
README 文档
README
This module enables the admin to restrict products at a product level, It is allow the admin to BLOCK the product from being ordered from one or more countries. Used IPinfo PHP Client Library to retrieve the country from the visitors IP to obtain the country for the current customer.
Download & Install
You can download from the following resouces:
Install via composer (recommend)
composer require mltest/module-developertest:dev-master
composer require ipinfo/ipinfo:2.2.0
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
User Guide
How to config
Login to the Magento admin, choose Stores > Settings > Configuration > ML DevelopmentTest > Block Product.
1. Block Product Configurations
- In the Enable field, select “Yes” to enable this extension.
- In the Error Message field, Enter the error message, It will show when customer will not eligible to buy.
2.IPinfo Configurations
- In Access Token, You'll need an IPinfo API access token, which you can get by signing up for a free account at https://ipinfo.io/signup.
How to Block Product At a product level
- Login to the Magento admin, choose Catalog > Products. From product listing select the product and edit it, Then check "Block product by countries" attribute and select countries.
Note
This extension is tested on magento version 2.4.6-p3
Review recorded of testing this extension in magento version 2.4.6-p3 : Link
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2023-10-29