PHPackages                             magepsycho/magento2-discountlimit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. magepsycho/magento2-discountlimit

ActiveMagento2-module

magepsycho/magento2-discountlimit
=================================

Magento 2 Discount Amount Limiter

1.0.1(3y ago)1111.6k↓42.3%4[1 issues](https://github.com/MagePsycho/magento2-discount-amount-limiter/issues)OSL-3.0PHP

Since Feb 11Pushed 3y ago2 watchersCompare

[ Source](https://github.com/MagePsycho/magento2-discount-amount-limiter)[ Packagist](https://packagist.org/packages/magepsycho/magento2-discountlimit)[ Docs](https://www.magepsycho.com/magento2-discount-limiter.html)[ RSS](/packages/magepsycho-magento2-discountlimit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

[![Magento 2 Discount Limiter](https://camo.githubusercontent.com/21d85452cbb9037cc0b473fb795e3f117158b344da13996fc3f294103b63db2b/68747470733a2f2f692e696d6775722e636f6d2f643851454852622e706e67)](https://camo.githubusercontent.com/21d85452cbb9037cc0b473fb795e3f117158b344da13996fc3f294103b63db2b/68747470733a2f2f692e696d6775722e636f6d2f643851454852622e706e67)

Magento 2 Discount Limiter
==========================

[](#magento-2-discount-limiter)

[![Packagist Version](https://camo.githubusercontent.com/ae187332e5ef98f9e3d8264bc89a15cbe674ddd57d606fad95ae672ec482854e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f4d61676550737963686f2f6d6167656e746f322d646973636f756e742d616d6f756e742d6c696d697465723f6c6f676f3d7061636b616769737426736f72743d73656d766572266c6162656c3d7061636b6167697374267374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/magepsycho/magento2-discountlimit)[![Packagist Downloads](https://camo.githubusercontent.com/cc50616d6e5b97f4368f2542cb16c76100916aa85f5fd67357201d1e835acbe8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61676570737963686f2f6d6167656e746f322d646973636f756e746c696d69742e7376673f6c6f676f3d7061636b6167697374267374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/magepsycho/magento2-discountlimit/stats)[![Supported Magento Versions](https://camo.githubusercontent.com/383fa0d82dfdc41be8815b1665beec1d0f96e7b1c5d65d1b3a792f2bc164b767/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d253230322e335f2537435f322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/383fa0d82dfdc41be8815b1665beec1d0f96e7b1c5d65d1b3a792f2bc164b767/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d253230322e335f2537435f322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666f722d7468652d6261646765)[![License](https://camo.githubusercontent.com/a8e59c52a61079bac6876857b971b3115f991aa15de6cb7a243876b23007bb62/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e3f636f6c6f723d253233323334267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/a8e59c52a61079bac6876857b971b3115f991aa15de6cb7a243876b23007bb62/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e3f636f6c6f723d253233323334267374796c653d666f722d7468652d6261646765)

Overview
--------

[](#overview)

[Magento 2 Discount Limiter](https://www.magepsycho.com/magento2-discount-limiter.html) 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
------------

[](#key-features)

- Option to enable/disable the extension as per store
- Option to set the maximum amount discount

Feature Highlights
------------------

[](#feature-highlights)

### Limit Discount Amount

[](#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](https://camo.githubusercontent.com/6319fe66e3e6be22418758aa97acef0ca4479c0752b146df01778dc485dc7f8b/68747470733a2f2f7777772e6d61676570737963686f2e636f6d2f6d656469612f636174616c6f672f70726f647563742f332f302f33302d6d322d646973636f756e742d6c696d697465722d61646d696e2d636172742d72756c652d6d61782d646973636f756e742e6a7067)](https://camo.githubusercontent.com/6319fe66e3e6be22418758aa97acef0ca4479c0752b146df01778dc485dc7f8b/68747470733a2f2f7777772e6d61676570737963686f2e636f6d2f6d656469612f636174616c6f672f70726f647563742f332f302f33302d6d322d646973636f756e742d6c696d697465722d61646d696e2d636172742d72756c652d6d61782d646973636f756e742e6a7067)

[![M2 Discount Limiter - Storefront Cart Page](https://camo.githubusercontent.com/5e8d15941f6d886d6729057ed93de0ff6ea92cfcc1f161f6a53cd7def210cbf5/68747470733a2f2f7777772e6d61676570737963686f2e636f6d2f6d656469612f636174616c6f672f70726f647563742f342f302f34302d6d322d646973636f756e742d6c696d697465722d73746f726566726f6e742d6d6178696d756d2d646973636f756e742e6a7067)](https://camo.githubusercontent.com/5e8d15941f6d886d6729057ed93de0ff6ea92cfcc1f161f6a53cd7def210cbf5/68747470733a2f2f7777772e6d61676570737963686f2e636f6d2f6d656469612f636174616c6f672f70726f647563742f342f302f34302d6d322d646973636f756e742d6c696d697465722d73746f726566726f6e742d6d6178696d756d2d646973636f756e742e6a7067)

🛠️ Installation
---------------

[](#️-installation)

### 1 Using Composer (Preferred)

[](#1-using-composer-preferred)

```
composer require magepsycho/magento2-discountlimit

```

### 2 Using Modman

[](#2-using-modman)

```
modman init
modman clone git@github.com:MagePsycho/magento2-discount-amount-limiter.git

```

### 3 Using Zip File

[](#3-using-zip-file)

- Download the [Extension Zip File](https://github.com/MagePsycho/magento2-discount-amount-limiter/archive/master.zip)
- Extract &amp; 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

```

2. Flush the store cache

```
php bin/magento cache:flush

```

3. Deploy static content - *in Production mode only*

```
rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy

```

4. Go to Admin &gt; MARKETING &gt; Discount Limiter &gt; Manage Settings

Live Demo:
----------

[](#live-demo)

- [Backend Demo](http://m2default.mage-expo.com/admin_m2demo/?module=discountlimiter)
- [Frontend Demo](http://m2default.mage-expo.com/dual-handle-cardio-ball.html)

Changelog
---------

[](#changelog)

**Version 1.0.0 (2022-01-24)**

- Initial Release.

Authors
-------

[](#authors)

- Raj KB [![Twitter Follow](https://camo.githubusercontent.com/1264ebcaa4f5a0968a5dc17aae246f1ae578e0e75bb9660cf06d3131596ca1fe/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f72616a6b626e702e7376673f7374796c653d736f6369616c)](https://twitter.com/rajkbnp)

Contributors
------------

[](#contributors)

[![Contributors](https://camo.githubusercontent.com/193fe3d9bab1fe85f17098658050f4294f226ee0c86555bddb346183ce03fba7/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d6d61676570737963686f2f6d6167656e746f322d646973636f756e742d616d6f756e742d6c696d69746572)](https://camo.githubusercontent.com/193fe3d9bab1fe85f17098658050f4294f226ee0c86555bddb346183ce03fba7/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d6d61676570737963686f2f6d6167656e746f322d646973636f756e742d616d6f756e742d6c696d69746572)

To Contribute
-------------

[](#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](https://github.com/MagePsycho/magento2-discount-amount-limiter/pulls).

Need Support?
-------------

[](#need-support)

If you encounter any problems or bugs, please create an issue on [GitHub](https://github.com/MagePsycho/magento2-discount-amount-limiter/issues).

Please [visit our store](https://www.magepsycho.com/extensions/magento-2.html) for more FREE / paid extensions OR [contact us](https://magepsycho.com/contact) for customization / development services.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~236 days

Total

2

Last Release

1322d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47c847a6fe8bcd713aace9722ded18e2be56ffffde75e1a876957128714563e5?d=identicon)[MagePsycho](/maintainers/MagePsycho)

---

Top Contributors

[![MagePsycho](https://avatars.githubusercontent.com/u/1205071?v=4)](https://github.com/MagePsycho "MagePsycho (3 commits)")

---

Tags

cartdiscountextensionmagentomagento2percentagepromotionmagentoextensionmodulelimitmagento2 modulemagento 2 modulemagento 2 extensionmagento2 extensiondiscountmaximumcart rule

### Embed Badge

![Health badge](/badges/magepsycho-magento2-discountlimit/health.svg)

```
[![Health](https://phpackages.com/badges/magepsycho-magento2-discountlimit/health.svg)](https://phpackages.com/packages/magepsycho-magento2-discountlimit)
```

###  Alternatives

[olegkoval/magento2-regenerate-url-rewrites

Add into Magento 2 a CLI feature which allow to regenerate a Url Rewrites of products and categories

4423.7M2](/packages/olegkoval-magento2-regenerate-url-rewrites)[magepsycho/magento2-custom-shipping

Magento 2 Custom Shipping

697.5k](/packages/magepsycho-magento2-custom-shipping)[magepsycho/magento2-storepricing

Magento 2 Store View Pricing

2520.9k](/packages/magepsycho-magento2-storepricing)[werfu/magento2-url-key-mask

Enable Product and Category URL\_key generation using masks

135.4k](/packages/werfu-magento2-url-key-mask)[magepsycho/magento2-seosuite

Magento 2 FREE SEO Suite

106.3k](/packages/magepsycho-magento2-seosuite)[opengento/module-webapi-logger

This module allows you to analyze all the webapi rest done call toward your Magento.

1014.9k](/packages/opengento-module-webapi-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
