How to Set Minimum Order Quantity in WooCommerce (2026)
Table of contents
- Why a plain "minimum quantity" is not enough
- The three limits, in plain words
- Step by step with Quantity Pack Rules
- 1. Install the free plugin
- 2. Set rules on a simple product
- 3. Set rules per variation
- 4. Set rules once for a whole category
- 5. Add order-level limits
- Variable products: count the variations together
- Show the rule before the error
- Real situations and the settings that fit
- Free and Pro: what each one covers
- Test before you tell customers
- Pairing quantity rules with the rest of your product page
- Pricing, if you want Pro
- FAQ
- Does WooCommerce have a minimum order quantity setting built in?
- What does "group of" mean?
- Does it work with the block cart and checkout?
- Can I set different rules for each variation?
- Can I limit the value of the whole order?
Last updated: 5 December 2026
To set a minimum order quantity in WooCommerce, you need a plugin: the core software has no field for it. The cleanest setup uses three values per product, a minimum, a maximum and a "group of" (the pack size), and enforces them in the cart and at checkout. Here is how we do it with Quantity Pack Rules for WooCommerce, our own plugin, and the mistakes that let broken orders slip through.
Why a plain "minimum quantity" is not enough
Say you sell olive oil in cartons of 6 bottles. A buyer adds 5 bottles. Or 7. Your warehouse now has to break a carton, relabel a shipment, and eat the cost.
A minimum alone only solves the first case. Set it to 6 and the buyer can still order 7, 8 or 11. What you actually want is "packs only": the smallest order is one full pack, and the quantity climbs in whole packs after that. That needs both a minimum and a pack size, set to the same number.
It sounds obvious. Plenty of stores learn it the hard way, after the first messy wholesale order.
The three limits, in plain words
| Limit | What it does | Example |
|---|---|---|
| Minimum | The lowest quantity a customer can buy | Minimum 12 means 11 is refused |
| Maximum | The highest quantity in one order | Maximum 60 for a limited batch |
| Group of | Quantity must be a multiple of the pack size | Group of 6 allows 6, 12, 18 and so on |
Set minimum 12 with group of 6 and you get 12, 18, 24. Set minimum 6 with group of 6 and a single carton is the smallest sale. Pick the combination that matches how you ship.
Step by step with Quantity Pack Rules
1. Install the free plugin
Download the zip from the free download page. In WordPress, go to Plugins, then Add New, then Upload Plugin, and activate it. WooCommerce must already be active. The plugin declares compatibility with High-Performance Order Storage and with the cart and checkout blocks.
2. Set rules on a simple product
Edit the product and fill in the minimum, maximum and group-of fields. The quantity box on the product page then follows your rules automatically, so the buyer starts at a valid number and steps in valid jumps. Leave a field empty when you do not want that limit.
3. Set rules per variation
Variable products work too. Each variation has its own minimum, maximum and group-of fields. That suits a product where the 500 ml bottle ships in sixes and the 5 litre can ships singly.
4. Set rules once for a whole category
If every item in a category follows the same pack size, edit the category and set the values there. Products inherit them. A product's own rule beats the category rule, and you can exclude single products that do not fit the pattern. This is the setting that saves the most time on a catalogue of hundreds.
5. Add order-level limits
Go to WooCommerce, then Settings, then Products, then Quantity rules. Here you can set a minimum or maximum item count for the whole cart, and a minimum or maximum order value. A wholesaler might want at least 24 items in total, however they are mixed. Products can be excluded from these order rules when needed.
Variable products: count the variations together
This is the part that trips up most stores. A buyer wants 2 small shirts and 3 medium shirts. Your maximum is 5 per product. If each variation is checked alone, the cart looks fine. Counted together, it is exactly at the limit.
Tick "Combine variations" and the plugin adds all variations of a product into one count. The same idea works for minimums: 6 of one colour plus 6 of another can meet a minimum of 12, which is how most wholesale buyers like to shop. Decide this before you launch, because it changes how customers feel about your rules. Counting separately is stricter. Counting together is friendlier.
Show the rule before the error
An error message at checkout is a bad place to first mention a rule. By then the buyer is annoyed. Tell people early.
- Put the pack size in the product title or short description, for example "Sold in cartons of 6".
- Let the quantity box do the work, since it already steps in your pack size.
- Keep the cart message short and specific. "Quantity must be a multiple of 6" is clear. "Invalid quantity" is not.
Customers see plain messages in the cart and on both the classic and block checkout, and an order that breaks the rules cannot be placed. That last point matters more than it sounds. A rule that only changes a text box is a suggestion. Someone can edit the number on the cart page, reuse an old link, or come through the block checkout, which does not use the classic quantity field at all. The rule has to be checked where the order is actually accepted.
Real situations and the settings that fit
| Store | Goal | Settings |
|---|---|---|
| Spice wholesaler | Only full cases of 12 jars | Minimum 12, group of 12 |
| Stationery supplier | Pens in packs of 6, any number of packs | Minimum 6, group of 6 on the category |
| Limited festive sweets | Stop one buyer taking the whole batch | Maximum 4 per order |
| Fabric trader | Make small orders worth shipping | Order value minimum for the cart |
| Apparel brand with sizes | Any mix of sizes counts toward 10 | Minimum 10 with combined variations |
None of these need code. They are all fields and checkboxes.
Free and Pro: what each one covers
This comes from the plugin's own page, so you can decide before installing.
| Feature | Free | Pro |
|---|---|---|
| Min, max and group-of per product, variation and category | Yes | Yes |
| Combine variations and exclusions | Yes | Yes |
| Order quantity and order value limits | Yes | Yes |
| Cart and block checkout messages | Yes | Yes |
| Supplier-specific pack rules | No | Yes |
| Conflict simulator for impossible rules | No | Yes |
| Order-limit clash check | No | Yes |
| Quantity tester for any product and quantity | No | Yes |
| CSV export, import with dry run, one-click rollback | No | Yes |
If you have a few dozen products, free is likely enough. Pro earns its place when you have many suppliers and a long catalogue, because rules start to collide. A minimum of 10 with a pack size of 6 is impossible to satisfy, and the conflict simulator lists such rules before a customer finds them for you.
Test before you tell customers
Open a private window and try to break your own rules. Add the minimum, then one below it. Add a quantity that is not a multiple. Type a large number in the cart. Switch between variations. Go through the checkout with the block layout if you use it.
Then check the cart as a mixed order with several products, since order-level limits only show up there. Ten minutes of testing now beats a refund conversation later. If you are rolling out rules to hundreds of products by spreadsheet, Pro's dry run shows what will change before you save it, and the rollback returns the old values if something looks wrong.
Pairing quantity rules with the rest of your product page
Rules work best when the page explains them. A short care or shipping tab, a PDF spec sheet and a size guide all reduce the questions that land in your inbox. We covered how to add a size chart in WooCommerce if your products come in sizes, and our guide to PDF manuals helps for technical goods. You can see everything else we build on the plugins page.
Pricing, if you want Pro
The free plugin does the core job. Pro is ₹999 a year or ₹149 a month in India, and $12 a year or $2 a month internationally, for one site, with updates and support included. Full details are on the Quantity Pack Rules page, and the free version is a safe place to start. Questions about your own setup? Get in touch. And if you also want links pointing at your store, our guest post packages are there.
FAQ
Does WooCommerce have a minimum order quantity setting built in?
No. Core WooCommerce lets you set stock but not buying limits, so a plugin is needed for minimums, maximums and pack sizes.
What does "group of" mean?
It is the pack size. With group of 6, customers can only buy 6, 12, 18 and so on.
Does it work with the block cart and checkout?
Yes. Rules are checked in the cart and checkout, including the WooCommerce block checkout, and orders that break them cannot be placed.
Can I set different rules for each variation?
Yes. Every variation has its own minimum, maximum and group-of fields. You can also combine all variations of a product into one count.
Can I limit the value of the whole order?
Yes. Under WooCommerce, Settings, Products, Quantity rules, set a minimum or maximum item count and order value for the cart.
Need quality backlinks?
White hat guest posts on real sites with real traffic.