Min Max Quantity and Step Control for WooCommerce
Set a minimum quantity, a maximum quantity and a step on each product, and refuse a quantity that falls outside them.

What it does
Set a minimum quantity, a maximum quantity, a step and a starting quantity on each product and variation. A figure on the product wins. Optional shop defaults fill in only the settings a product has not set, and one switch turns the limits on or off for the whole shop.
The series starts at the minimum, so a minimum of 4 and a step of 2 allows 4, 6 and 8. The quantity box on the product page, in the shop loop and in the cart follows the rule, and adding to the cart or changing a quantity is refused when the total falls outside it. That covers the classic checkout, the Cart and Checkout blocks and express buttons such as PayPal. Stock still wins, and the messages are yours to write, with placeholders such as {min}, {max} and {step}.
A current licence adds rules for a customer role, a product category, tag or shipping class, combined limits across a group of products or the whole cart, exempt roles, and bulk edit and CSV import across the catalogue. If the licence lapses, nothing is deleted and every customer goes back to each product's own figures, and to the shop defaults only where you chose to apply them.
See it in action
What the plugin does
- A minimum quantity, a maximum quantity, a step and a starting quantity on each simple product and variation.
- Shop defaults, optional and switched on by Apply defaults to products without their own limits. They apply one setting at a time, so a product with its own minimum but no maximum still gets the shop maximum. A minimum of zero on a product means that product has no minimum.
- The product's own figure wins, then its parent's. Shop defaults apply only where you chose to apply them.
- One switch, Enable quantity limits, turns the limits on or off for the whole shop.
- The series starts at the minimum when there is one, and at 1 when there is not. A minimum of 4 and a step of 2 allows 4, 6 and 8. A minimum of 3 and a step of 2 allows 3, 5 and 7.
- A starting quantity is shown when it lands on the series. One that falls short, or between two steps, is replaced by the first number the box will accept.
- The quantity box on the product page, the shop loop and the cart.
- A short message under the quantity box when a customer goes under the minimum or over the maximum.
- When some are already in the cart, the box offers the next quantity the total will allow.
- Add to cart and cart updates refused when the quantity is outside the rule.
- Classic checkout blocked while a quantity is outside the rule. The Cart and Checkout blocks refused through the Store API, with the same limits on the quantity box.
- PayPal and other express buttons refused, so a one-tap order cannot get past the rule. The buttons stay on the cart.
- A message you write yourself. Bold, italics and links are allowed. The placeholders {product}, {min}, {max}, {step}, {quantity} and {stock} are filled in when it is shown.
- Notices on the cart, checkout and mini-cart, and the shortcode [mmqswc_message], which shows nothing once the cart is fine.
- Stock still wins. A quantity above the stock on hand is refused even when the maximum is higher, and a product sold individually stays at one.
- Settings import and export, so a configuration can be copied to another shop.
- High-Performance Order Storage.
- A rule for each customer role, which replaces the product's own figures for customers in that role.
- A product category, a tag or a shipping class, filling in only the quantity settings the product left blank.
- A combined limit for a category, a tag, a shipping class, or the whole cart, applied to the total quantity of the matching products in the cart. It applies when the cart contains something from that group.
- An exempt role, which is not held to these limits. Stock and sold individually stay WooCommerce's.
- Bulk edit and a CSV, so the same limits can be set across the catalogue. Each rule can carry its own message, and those rules travel with an export.
Pricing
Every Pro plan is the same plugin with every feature. The only difference is how many sites you can run it on.
Single site
One site, with a year of updates and support.
$49/year
Secure checkout. Cancel any time.
5 sites
Most popularUp to 5 sites, with a year of updates and support.
$99/year
Secure checkout. Cancel any time.
25 sites
Up to 25 sites, with a year of updates and support.
$199/year
Secure checkout. Cancel any time.
Need more than 25 sites? Get in touch about a custom licence.
Frequently asked questions
Does it work with the block cart and checkout?
Yes. The quantity box in the Cart and Checkout blocks uses the same minimum, maximum and step, through WooCommerce's Store API, and a quantity outside the rule is refused there too.
What if the product is sold individually, or stock is lower than the maximum?
WooCommerce still wins. A product sold individually stays at one, and a quantity above the stock on hand is refused even when the maximum is higher.
Do the shop defaults apply to every product?
No, they are optional. Tick Apply defaults to products without their own limits and the shop's minimum, maximum, step and starting quantity apply to each setting a product has not set itself. They work one setting at a time, so a product with its own minimum but no maximum still gets the shop maximum. Until the box is ticked, a product with no figures of its own is not limited. Enter 0 as a product's minimum for no minimum, which also opts that product out of the shop minimum.
How do role, category, tag and shipping class rules work with a product's own figures?
They need a current licence. A rule for a role replaces the product's own figures for customers in that role. A rule for a category, a tag or a shipping class fills in only the quantity settings the product left blank. A combined limit applies to the total quantity of the matching products in the cart, and only when the cart contains something from that group.
How do I switch the limits off?
Untick Enable quantity limits, under WooCommerce → Min Max Quantity and Step Control. It is ticked to start with, and unticking it stops the limits being enforced across the shop until you tick it again. Your figures stay saved.
What happens if a customer types a quantity the rule does not allow?
On the product page a short message appears under the quantity box. It clears when the quantity is one the rule allows. Leaving the box sets it to the nearest quantity that is allowed: the minimum if they went under it, the maximum if they went over it, and the closest step otherwise. When two steps are the same distance away, the lower one is used. The plus and minus buttons stop at the minimum and maximum. You can change those short sentences under Messages. The cart and the checkout still show the longer message, and the Cart and Checkout blocks still refuse a quantity the rule does not allow.
Can I change the wording?
Yes. Write whatever suits the shop. Bold, italics and links are allowed; anything else is stripped before it reaches the storefront. The placeholders {product}, {min}, {max}, {step}, {quantity} and {stock} are filled in when the message is shown. A rule can carry its own message, used when that rule is the one that stopped the customer.
Can I show the message somewhere else?
Yes. The shortcode [mmqswc_message] prints the same sentence wherever you put it, and shows nothing at all once the cart is fine.
Can a customer get past it with a one-tap payment button?
No. The buttons stay on the cart, so the customer can read why the order is not going through, but the order itself is refused while a quantity is outside the rule.
What happens when the licence lapses?
Nothing is deleted. The extra rules stay on the screen as words you can read but not change, and every customer goes back to each product's own figures, and to the shop defaults only where you chose to apply them. Renewing switches those rules back on as you left them.
Recent Pro releases
Version 1.0.05 Oct 2026
- First public release.
More plugins

PluginCity Estimated Delivery Date for WooCommerce
Show an estimated delivery date on product pages, the cart, checkout and emails, and tell your team the dispatch date. Counted in working days.

PluginCity Minimum Order for WooCommerce
Set a minimum order amount or quantity for WooCommerce. Checkout waits until the cart reaches it, and customers see exactly what to add.

PluginCity Free Shipping Bar for WooCommerce
A free shipping progress bar for WooCommerce. Shows customers how much more to spend, on the cart, at checkout and in the mini-cart.

Stock Alerts for WooCommerce
Lets customers leave their email address on a sold-out product or variation, and emails them when it can be bought again. A change in the stock number on its own sends nothing.

PluginCity Delivery Instructions for WooCommerce
Add a delivery instructions box to WooCommerce checkout, classic or block. Shown on the order, in your emails and on the thank-you page.

PluginCity Product Expiry Dates for WooCommerce
Set a product expiry date in WooCommerce. When it passes the product comes off sale, and a cart still holding it cannot be checked out.