定制 magepsycho/magento2-discountlimit 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

magepsycho/magento2-discountlimit

Composer 安装命令:

composer require magepsycho/magento2-discountlimit

包简介

Magento 2 Discount Amount Limiter

README 文档

README

Magento 2 Discount Limiter

Magento 2 Discount Limiter

Packagist Version Packagist Downloads Supported Magento Versions License

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 to 50$
  • 10% OFF for first order, up to 25$
  • etc.

M2 Discount Limiter - Cart Rule Edit Page

M2 Discount Limiter - Storefront Cart Page

🛠️ 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

  1. Enable the module
php bin/magento module:enable MagePsycho_DiscountLimit --clear-static-content
php bin/magento setup:upgrade
  1. Flush the store cache
php bin/magento cache:flush
  1. Deploy static content - in Production mode only
rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy
  1. Go to Admin > MARKETING > Discount Limiter > Manage Settings

Live Demo:

Changelog

Version 1.0.0 (2022-01-24)

  • Initial Release.

Authors

  • Raj KB Twitter Follow

Contributors

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 我们能提供哪些服务?
定制开发 / 二次开发

基于 magepsycho/magento2-discountlimit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 12.36k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 8
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2022-02-04