WooCommerce - Minimum/Maximum Quantities — is an essential tool for any e-commerce store owner looking to implement precise control over purchasing rules. This plugin allows you to define minimum and maximum quantities for products, specific categories, or the entire order. Whether you want to enforce bulk purchases for wholesale, limit sales of a promotional item, or sell products in specific increments, this plugin provides the flexibility you need with an intuitive user interface.
With this extension, you can eliminate common logistical headaches and guide your customers' purchasing behavior. Set global rules or override them on a per-product basis for ultimate control. The plugin seamlessly integrates into your WooCommerce settings, allowing you to create complex rules in minutes. For example, you can require a customer to buy at least 5 items from the 'Accessories' category but no more than 1 of a specific limited-edition T-shirt. This level of granularity helps optimize inventory, increase average order value, and prevent abuse from resellers.
Why This Is Important
Are you losing money on small, unprofitable orders? Studies show that orders below a certain value can cost more to ship and process than they are worth. By setting a minimum order quantity or value, you ensure every transaction is profitable. Worried about resellers buying out your entire stock during a sale? According to a 2023 retail report, over 40% of limited-stock sales are targeted by automated bots. This plugin acts as your first line of defense, allowing you to set a maximum purchase limit per customer, preventing stock depletion and giving fair access to all your real customers.
Features
- Set minimum and maximum quantity rules per product.
- Apply quantity restrictions to entire product categories.
- Establish global minimum/maximum quantity rules for the entire cart.
- Define rules based on the total order value (e.g., must spend at least $50).
- Set quantity "step" increments (e.g., must buy in multiples of 6).
- Exclude specific products or categories from global rules.
- Create different rules for different user roles (e.g., wholesale vs. retail).
- Display custom error messages when a customer's cart doesn't meet the rules.
- Fully compatible with variable products, allowing rules per variation.
- Lightweight code that doesn't slow down your website.
Benefits of Quantity Rules
| Scenario | Without Plugin (The Problem) | With Plugin (The Solution) | Business Impact |
|---|---|---|---|
| Wholesale Store | Retail customers can buy single items at wholesale prices, causing profit loss. | Set a minimum order of 50 units for the "Wholesale" user role. | Protects wholesale pricing model. |
| Limited Edition Sale | One person or bot buys the entire stock to resell at inflated prices. | Set a maximum quantity of 1 per customer for the specific product. | Ensures fair distribution to fans. |
| Products Sold in Packs | Customers try to buy 1 or 2 items, creating packaging and shipping issues. | Set a quantity "step" of 6, forcing customers to buy in multiples of 6. | Streamlines fulfillment process. |
| Shipping Profitability | Many small orders where shipping costs exceed the product's profit margin. | Set a minimum cart total of $25 to qualify for checkout. | Increases average order value (AOV). |
How to install the plugin?
- Download the plugin archive using the button above.
- Navigate to Plugins > Add New in your WordPress dashboard.
- Click "Upload Plugin" at the top and select the downloaded ZIP file.
- Install, activate the plugin, and follow the quick setup wizard instructions.
FAQ
Can I set a rule that applies to an entire category but exclude one specific product?
Yes, absolutely. You can set a broad rule for a product category, such as requiring a minimum of 5 items. Then, you can navigate to the specific product you want to exclude and override the category rule by setting its own unique minimum quantity (e.g., 1) or disabling the rule for that product entirely.
Does this plugin work with variable products?
Yes, the plugin is fully compatible with variable products. You have the flexibility to set quantity rules on the parent variable product (applying to all variations) or define different minimum/maximum quantity rules for each individual variation (e.g., you must buy at least 10 Small T-shirts, but you can only buy 1 Large T-shirt).
How are customers notified if their cart doesn't meet the quantity requirements?
The plugin will display clear, customizable messages on the cart and checkout pages. When a customer's cart violates a rule (e.g., quantity is too low or too high), a notice will appear explaining the requirement. This prevents confusion and guides the user to adjust their cart quantities before they can proceed to payment.
Can I apply quantity rules only to specific user roles, like wholesalers?
Yes, this is a key feature of the plugin. You can easily create quantity rules that apply exclusively to certain user roles. This is perfect for B2B or wholesale stores where you want to enforce bulk purchasing for wholesale customers while allowing regular retail customers to buy single items without restrictions.