mltest/module-developertest
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
mltest/module-developertest 适用场景与选型建议
mltest/module-developertest 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 13 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 10 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 mltest/module-developertest 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mltest/module-developertest 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2023-10-29