All modulesMagento 2 module

Minimum order quantity

Set a minimum quantity for each customer, below which an order cannot be placed. Small orders stop eating into your profit.

€120 + VAT · one-off licence, installation optional

Minimum order quantity
About the module

What it does.

"For some customers it costs me more to pack and ship the order than I make on it." For stores that sell to businesses, small orders wipe out the margin.

What it looks like in practice

In a business customer's account you set how many items they must have in the cart. The customer adds fewer, sees a notice in the cart telling them how many more they need, and cannot place the order until they reach that quantity. On individual products you can set a separate limit as well, for example only by the box. Other customers without a limit shop as usual.

What changes

  • Overall minimum quantity. In the customer account you set how many items they must have in the cart to complete a purchase.
  • Minimum quantity per product. For an individual customer you set a lower limit for chosen products, for example only by the box.
  • The customer knows why. A notice appears in the cart and on error; you can customise the text for the overall quantity.
  • It does not bother others. The limit applies only to logged-in customers who have one set.

Who it is for

For wholesale and B2B stores that have different arrangements with different customers and do not want small orders to burden the warehouse.

How you set it up

Turn the module on under Stores › Configuration › Magelan › Minimum Quantity Settings, where you also set the cart and error messages. Set the limit in the admin on each customer, for the overall quantity as well as for individual products.

Good to know

  • The limit is set per customer, not per customer group.
  • The notice about a product's minimum quantity on the product page depends on the theme; we check it after installing.
  • The module is off by default.

Want it in your store?

Install it yourself or choose installation and configuration when you order. Building a new store? Add it to your project in the Konfigurator.

Screens

Take a look at every step.

www.degriz.eu
A customer with a contract minimum cannot add less than agreed
www.degriz.eu
Below the product minimum the shopper gets a clear message with the minimum quantity
www.degriz.eu
In the cart the shopper sees the minimum order of their account
www.degriz.eu
Minimum quantity per product for a single customer, set in the admin
www.degriz.eu
The customer also has a minimum total quantity for the order
www.degriz.eu
Settings: on or off, the cart message and the error message
User guide

See how it works, step by step.

Our guide centre shows the settings and the everyday work with this module, with real screenshots.

Installation

How to install it.

We deliver the module from our own repository, installed with Composer. We send you the user name and access key for the repository after purchase. If you prefer, we install and set it up for you.

In the root of the Magento 2 store run the commands (replace UPORABNIK and DOSTOPNI_KLJUC with the user name and access key you received):

composer config repositories.degriz composer https://www.degriz.net/konfigurator/composer/packages/composer config --auth http-basic.www.degriz.net UPORABNIK DOSTOPNI_KLJUCcomposer require degriznet/m2_minimumqtyphp bin/magento module:enable Magelan_MinimumQtyphp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy -fphp bin/magento cache:flush

Where do I get the user name and the access key?

After the payment we e-mail you a link to create the access key. Keep the key safe: for security it is shown only once and we do not keep it in readable form. The user name (your project code) and all the commands, ready to copy, are in your account under My account > Module licences.

Lost the key? Create a new one in your account under Module licences; the old one stops working.

Technical details

Compatibility.

Just the facts.

Code
degriz_b2bminqty
Platform
Magento 2
Licence
One-off
Change log

Version 1.0.6 · 27 Nov 2026

  • The line "Minimum quantity for this product" now shows on the product page of Hyva themes too (before: Luma only).
  • The line is styled by a CSS class instead of an inline style.
  • The field comments now show the placeholders [min_qty] and [current_qty] (before, they vanished from the comment); the old {{min_qty}} form in saved texts still works.

Version 1.0.4 · 12 Oct 2026

  • The per-product limit now follows the Enable switch; before, it stayed active even with the module off.

Version 1.0.3 · 11 Oct 2026

  • Admin menus and settings follow the common layout: all settings are in one Magelan tab.

Version 1.0.2 · 5 Oct 2026

  • The minimum quantity really stops the order from being placed.
  • The error message correctly fills in the minimum and current quantity, and a message on the cart page was added.

Version 1.0.1 · 1 Oct 2026

  • Settings have their own Magelan tab.
  • Slovenian translations of the settings and the customer field.

Version 1.0.0 · 3 Aug 2026

  • First release: a minimum total cart quantity for a customer and a minimum quantity of a single product for a customer.
After purchase

You are not left alone.

We develop and maintain the module ourselves, so you write to the people who know it line by line.

Installation

Installation and configuration are optional: choose them when you order and the price is added to the order (+ VAT). If more time is needed, we bill the rest separately.

Support

A bug that repeats on a clean Magento with the Luma theme we fix free of charge. Settings, customisations and other themes by time spent.

Updates

The licence includes 12 months of free updates for the Magento versions on the supported list.

We agree on a date after reviewing the request. User guides in the guide centre

Minimum order quantity

€120 + VAT

One-off licence for one store, no subscription. Installation and configuration are optional.

After payment you get the licence and access to our private repository: immediately with a card or PayPal, with a bank transfer (UPN) as soon as we receive the payment. 12 months of free updates are included.

Write to us

Install it yourself by following the guide, or choose installation and configuration above. If more time is needed, we bill the rest separately. We agree on a date after reviewing the request.

Anže Voh, Degriz

Questions about this module?

Write to us and we will answer personally.

[email protected] · +386 40 807 231

Minimum order quantity€120 + VATAdd to cart

Online store configurator

Redesigning your store or building a new one?

Put your own quote together in the configurator and see the price straight away. A few minutes, no obligation, no meeting needed.

  • Price straight away
  • No obligation
  • Straight to the developer
Open the configurator

Free and with no obligation

We use cookies for the proper functioning of the site, visit analytics and showing ads tailored to your interests. Read more in our privacy policy. By clicking "Accept all" you agree to the use of all cookies.