ambab/module-couponerrormessage
Composer 安装命令:
composer require ambab/module-couponerrormessage
包简介
Coupon Error Message extension
README 文档
README
Let customers know why their coupon code is not working
Coupons help websites increase sales. When a customer makes a purchase on the website and applies a coupon code to get a discount, it will display the default Magento error message "Coupon code is not valid" if the coupon does not fulfill the conditions. The default message is not self-explanatory which explains the reason for coupon failure. Coupon Error Message extension for Magento 2 allows an admin to specify an error message for each condition of the coupon shopping cart rules. When the condition is not passed through validation, an appropriate error message will be shown to a customer which will be configured in the backend.
For example, a customer has a coupon code that will be applicable that should apply a 40% discount for orders that total $100 or more. So the customer adds products with the total amount of $80 to the shopping cart and tries to apply the 40% coupon code and, of course, he gets the error message "Coupon code is not valid". With the help of the Coupon Error Message module, the customer will receive the error message that is set by admin like "Cart does not fulfill the condition for coupon".
Feature Summary
Admin Can Set:
- Enable/ Disable flag.
- Error message when coupon does not exist.
- Error message when coupon exists but is expired.
- Error message when a customer doesn't belong to the assigned customer group.
- Error message when the coupon is not applicable to the website.
- Error message when the coupon was used more than it can be used.
- Error messages when coupon exists but do not apply to the cart rule conditions.
Benefits:
- 100% open source.
- Easy to install.
Installation/ Uninstallation [Versions supported: 2.3.x onwards]
Steps to install with composer
-
composer require ambab/module-couponerrormessage
-
bin/magento module:enable Ambab_CouponErrorMessage
-
bin/magento setup:upgrade
-
bin/magento setup:di:compile
-
bin/magento cache:flush
Steps to uninstall a composer installed module
-
bin/magento module:disable Ambab_CouponErrorMessage
-
bin/magento module:uninstall Ambab_CouponErrorMessage
-
composer remove ambab/module-couponerrormessage
-
bin/magento cache:flush
Steps to install module manually in app/code
-
Add directory to app/code/Ambab/CouponErrorMessage/ manually
-
bin/magento module:enable Ambab_CouponErrorMessage
-
bin/magento setup:upgrade
-
bin/magento cache:flush
Steps to uninstall a manually added module in app/code
-
bin/magento module:disable Ambab_CouponErrorMessage
-
remove directory app/code/Ambab/CouponErrorMessage manually
-
bin/magento setup:upgrade
-
bin/magento cache:flush
Configurations
Go to Admin -> Stores -> Configuration -> Ambab -> Coupon Error Message
Contribute
Feel free to fork and contribute to this module by creating a PR to master branch (https://github.com/ambab-infotech/coupon-error-message).
Support
For issues please raise here https://github.com/ambab-infotech/coupon-error-message/issues
In case of additional support feel free to reach out at tech.support@ambab.com
ambab/module-couponerrormessage 适用场景与选型建议
ambab/module-couponerrormessage 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 21.39k 次下载、GitHub Stars 达 9, 最近一次更新时间为 2020 年 02 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「magento 2」 「ambab」 「custom error message」 「coupon error message」 「custom coupon error message」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ambab/module-couponerrormessage 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ambab/module-couponerrormessage 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ambab/module-couponerrormessage 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Sliding cart extension
Multiauth and custom grants for laravel passport
Coupon Listing extension
Custom SilverStripe tweaks to keep things tidy.
Extends basic Wordpress features.
统计信息
- 总下载量: 21.39k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2020-02-18