A WooCommerce minimum order quantity lets you require customers to buy a certain number of items. A maximum sets the upper limit. To enforce either rule, you'll generally need an extension.
The right limits can make packing easier and protect stock during busy sales. The wrong ones can leave customers stuck at checkout. We recommend starting with one clear rule, then testing the full purchase before applying it across your store.
Key Takeaways
- WooCommerce's standard quantity field doesn't enforce general minimum and maximum purchase limits.
- The Min/Max Quantities extension can set rules for products, variations, categories, and entire orders.
- Item counts, cart values, and stock quantities are different controls. Choose the one that fits your goal.
- Test quantities below, at, and above each limit before inviting customers to buy.
Why Set Minimum and Maximum Order Quantities?
Some products make more sense in groups. If you sell supplies packed in cases of six, a one-item order may cost too much to prepare and ship. A minimum quantity gives customers a clear starting point.
Maximums solve a different problem. They can limit how many units one order contains during a promotion or help spread limited stock among more buyers. Think of a maximum as a rule for the purchase, not a replacement for inventory tracking.

Before setting a number, consider your packaging, handling costs, and available stock. A limit should support how your business fulfills orders while still giving customers a practical way to buy.
Choose a Quantity Tool for Your Store
WooCommerce gives shoppers a quantity field, but its standard settings don't provide general minimum and maximum quantity rules. That distinction saves a lot of hunting through menus.
Use an Extension for Ongoing Rules
The Min/Max Quantities extension supports limits for products, variations, categories, and whole orders. It can also require products to be purchased in groups, which is useful for case packs.
The one-year plan is listed at $49. If you need a repeatable rule that store managers can adjust without editing code, we recommend starting with an extension.
Match the Tool to the Restriction
A product quantity rule counts items. An order-value rule uses a monetary amount. These sound similar, but they can produce different results at checkout.
Other options include the Min Max Quantities plugin, which offers quantity, price, and step controls. Custom code is another route for a tailored rule, although it needs development and ongoing maintenance. Choose based on the behavior you need, not the number of settings on the screen.
Set Quantity Limits for Individual Products
Product-level rules are a good place to start when only certain items need restrictions. Your wholesale case of bottles can have a minimum while a single replacement cap remains available to everyone.

Install the Extension and Add Your Rule
Download the Min/Max Quantities extension, then open your WordPress dashboard. Go to Plugins > Add New, upload the extension file, and activate it.
Next, open Products and edit the item you want to restrict. In Product data > General > Quantity Rules, enter the minimum and maximum quantities that fit the product. Update the product when you're finished.
For example, a minimum of six and a maximum of 24 creates a purchase range for that item. A shopper should be able to buy six, but not five or 25. We'll test those boundaries before calling the setup complete.
Require Purchases in Multiples
Selling full cases? Use the extension's Group of control to require a product quantity in multiples of your chosen number.
With a group of six, valid quantities include six, 12, 18, and 24. A quantity of seven shouldn't pass the rule. Make sure your minimum, maximum, and group size work together. A maximum of 20, for example, wouldn't allow a customer to buy a full fourth case.
Handle Variations Without Surprises
Size, color, and other variations can make quantity rules more complicated. A shopper may see one product page, while your store manages several purchasable options behind it.
Decide Where the Limit Belongs
The Min/Max Quantities extension supports variation-level rules. Decide whether your restriction should apply to each variation or to a broader product rule before entering values.
For a shirt sold in different sizes, test the size combinations customers are likely to buy. A limit that works for six medium shirts may behave differently when the cart contains three medium and three large shirts. Your store's rule should match the way you pack and sell those items.
Keep Variation Stock Separate
A quantity rule doesn't tell WooCommerce how many units you have on the shelf. Stock can be managed at the parent product or variation level.
WooCommerce's variable product documentation explains both approaches. If each size tracks its own stock, review the quantity and backorder setting for each size. A parent-level count won't tell you whether the medium variation has enough units available.
Set Limits for the Whole Order
Sometimes the restriction belongs to the basket, not one product. The Min/Max Quantities extension places order-level controls under WooCommerce > Settings > Products > General.
Choose a Total Item Count
An order minimum can require a customer to buy a certain total number of items. A maximum can limit the number of items in the order. Set the value that fits your fulfillment process, save the settings, and test a mixed cart.
Pay attention to products that already have their own rules. If a product must be purchased in groups of six, an order maximum of five creates a conflict. The shopper needs a valid path through every rule that applies.
Separate Quantity From Cart Value
Six items and a $50 basket are different requirements. The extension also supports order-value rules, which may be more useful when your concern is the cost of processing a small order.
A minimum for placing an order also differs from a free-shipping offer. Customers may be allowed to buy below your shipping threshold and pay delivery. Our guide to setting a WooCommerce free shipping threshold covers that separate setup.
Keep Purchase Limits and Stock Controls Aligned
A maximum quantity limits a purchase under the rule you've configured. It doesn't reserve stock, and it shouldn't be treated as a lifetime limit per customer. Someone may be able to place another order unless you have a separate control for that behavior.
Stock management tracks availability. Backorders decide whether customers can continue buying when tracked stock runs out. Low-stock alerts warn you that inventory is running down. Each setting has its own job.
If you allow backorders, a per-order maximum doesn't cap all backorders across customers. Set your selling limit against confirmed incoming stock, then subtract units already promised elsewhere. Our WooCommerce backorders guide covers the difference between accepting an order and having enough supply to fill it.
Test the Complete Customer Journey
A saved setting is a starting point. A successful test tells you what the shopper sees and whether the rule holds through checkout.
Test the Boundaries
Open the product as a customer and try one quantity below the minimum, the minimum itself, the maximum, and one above the maximum. For a six-to-24 rule, that's five, six, 24, and 25.
If you use a group of six, try a valid quantity such as 12 and an invalid one such as 13. Change the quantity on the product page and again in the cart. Then continue to checkout with both valid and invalid combinations.
Test Mixed Carts and Messages
Add a different product, switch variations, and apply any promotion you expect customers to use. Test as a guest and, if applicable, while signed in. That helps you spot a rule that blocks a legitimate basket or behaves differently for a customer group.
Read the error message as a shopper would. "Buy in multiples of six" gives a customer a useful next step. A vague error can send them looking for the exit.
If a coupon is involved, remember that its limits govern the discount, not necessarily the purchase itself. Our guide to WooCommerce coupon restrictions explains those separate controls.
Fix Conflicting Rules Before Changing Stock
If a valid quantity is rejected, start with the product rule and the order-level rule. Look for a minimum above the maximum, a group size that doesn't fit the allowed range, or a restriction on the selected variation.
If the saved product information looks right but the storefront shows something different, caching may be involved. Compare the product editor with the customer view before changing inventory by hand. For checkout failures that continue after the rules are corrected, use our guide to troubleshooting WooCommerce checkout errors.
A test order should leave you with a clear trail: the selected product, variation, quantity, cart message, and checkout result. Those details make the source of a conflict much easier to find.
Give Your Store a Reliable Hosting Base
Quantity rules need a working cart and checkout. Your hosting won't choose the right minimum for you, but it supports the sessions, stock requests, and payment activity behind each order.
At ZADiC Web Hosting, our cPanel hosting starts at $4.99 per month. For stores that need more hosting capacity, our Web Hosting Plus plans start at $30.99 per month. We also offer WordPress hosting and 24/7 customer support.
Keep customer-specific cart and checkout pages out of shared full-page caching. When a promotion brings more shoppers at once, the right hosting resources help your store handle the extra activity.
Make Every Quantity Rule Easy to Buy With
A good WooCommerce minimum order quantity fits your packing process and gives customers a clear path to checkout. Maximums and group sizes should support that same goal.
Start with one product, explain the rule on its page, and test the limits in the cart. Once the purchase works as intended, you can apply the same care to the rest of your catalog.





