magepsycho/magento2-discountlimit
Composer 安装命令:
composer require magepsycho/magento2-discountlimit
包简介
Magento 2 Discount Amount Limiter
关键字:
README 文档
README
Magento 2 Discount Limiter
Overview
Magento 2 Discount Limiter allows setting the maximum discount amount (upper limit) for a percentage-based cart rule.
Store owners run different promotional activities to attract customers and grow sales.
One of the discounts they often want to use is percentage-based but with some limits.
For example: Get 10% OFF but up to 50$ only.
By default, Magento doesn't have such a feature of setting the maximum amount of discount (upper limit) in the cart rule.
But with this extension, you are all set to go.
Key Features
- Option to enable/disable the extension as per store
- Option to set the maximum amount discount
Feature Highlights
Limit Discount Amount
With this extension, the store admin can set the upper limit (maximum discount) for any percentage-based cart rule.
Some use cases:
- Flat
10% OFF, up to50$ 10% OFFfor first order, up to25$- etc.
🛠️ Installation
1 Using Composer (Preferred)
composer require magepsycho/magento2-discountlimit
2 Using Modman
modman init
modman clone git@github.com:MagePsycho/magento2-discount-amount-limiter.git
3 Using Zip File
- Download the Extension Zip File
- Extract & upload the files to
/path/to/magento2/app/code/MagePsycho/DiscountLimit/
After installation by either means, activate the extension with following steps
- Enable the module
php bin/magento module:enable MagePsycho_DiscountLimit --clear-static-content
php bin/magento setup:upgrade
- Flush the store cache
php bin/magento cache:flush
- Deploy static content - in Production mode only
rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy
- Go to Admin > MARKETING > Discount Limiter > Manage Settings
Live Demo:
Changelog
Version 1.0.0 (2022-01-24)
- Initial Release.
Authors
Contributors
To Contribute
Any contribution to the development of Magento 2 Discount Limiter is highly welcome.
The best possibility to provide any code is to open a pull request on GitHub.
Need Support?
If you encounter any problems or bugs, please create an issue on GitHub.
Please visit our store for more FREE / paid extensions OR contact us for customization / development services.
magepsycho/magento2-discountlimit 适用场景与选型建议
magepsycho/magento2-discountlimit 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 12.36k 次下载、GitHub Stars 达 10, 最近一次更新时间为 2022 年 02 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「module」 「extension」 「magento」 「limit」 「discount」 「magento2 module」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 magepsycho/magento2-discountlimit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 magepsycho/magento2-discountlimit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 magepsycho/magento2-discountlimit 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A custom URL rule class for Yii 2 which allows to create translated URL rules
The Yii2 extension uses jQuery jquery.carousel-1.1.min.js and makes image carousel from php array of structure defined.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
UI Kit 3 Extension for Yii2
Adds more BBCode
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
统计信息
- 总下载量: 12.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2022-02-04