Description
B2BM Minimum Order Quantity & Amount for WooCommerce, by B2B Managers, lets you control how much customers can buy, per product and for the whole order. Set a minimum order quantity (MOQ), a maximum quantity, a quantity step so products sell in packs or cases, and a minimum order amount the cart must reach before checkout.
Out of the box, WooCommerce lets anyone buy one of anything. That is fine for retail, but it does not work for wholesale suppliers who sell by the case, manufacturers with a minimum production run, or shops where small orders cost more to pick, pack and ship than they earn. Without order limits you end up cancelling orders, emailing customers to change quantities, or absorbing the loss on orders that were never worth sending.
This plugin enforces your rules everywhere a quantity can change: on the product page, when an item is added to the cart, when the cart is updated and at checkout. Clear messages tell the customer exactly what to fix, and checkout stays blocked until the cart meets your rules.
Minimum and maximum quantity per product
- Minimum order quantity, for example a minimum of 6 units per product line.
- Maximum quantity, to cap how many of an item one order can contain, for limited stock, launches or trade-only items.
- Storewide defaults: set limits once for the whole store, then override them on individual products.
- Per-product overrides: the fields sit in Product data → Inventory on the product edit screen, next to the stock settings.
Sell in packs and cases with quantity steps
- Quantity step: sell in whole multiples, such as packs of 6, cases of 12 or pallets of 48.
- Whole packs only: a step of 6 allows 6, 12, 18 and so on. If the minimum is not a multiple of the step, it is rounded up to the next one, so a minimum of 10 with a step of 6 starts at 12.
- The quantity box follows the rules: on the product page and in the cart, the quantity starts at the minimum and the arrows move in steps, so customers rarely make a mistake in the first place.
Minimum order amount for the cart
- Require a minimum cart subtotal before checkout, for example 150 for wholesale orders or 25 to cover delivery costs.
- The amount is measured on the cart subtotal before shipping and tax.
- The customer sees how much they need, for example: “The minimum order amount is $750 — your current subtotal is $540.”
Enforced everywhere, explained clearly
- Product page: the quantity input is limited to the allowed range and step.
- Add to cart: invalid quantities are refused with a message. If the item is already in the cart, the combined quantity is checked.
- Cart and checkout: every line is checked and the minimum order amount is enforced. The order cannot be placed until the cart meets the rules.
- Variable products: limits set on the parent product apply to every variation.
- Classic and block checkout: the same rules apply to the classic cart and checkout and to the WooCommerce block cart and checkout.
Who it is for
- Wholesale and B2B stores that sell by the case or require a minimum spend per order.
- Food, drink and packaging suppliers selling in fixed multiples.
- Shops with high fulfilment costs that need a minimum order value to make small orders worthwhile.
- Stores running limited releases that cap quantities per order.
How it works
- Install and activate the plugin.
- Go to WooCommerce → Order Limits and set storewide defaults: minimum quantity, maximum quantity, quantity step and minimum order amount. Leave any field empty to switch that rule off.
- To give a product its own limits, edit the product, open Product data → Inventory and fill in the minimum quantity, maximum quantity and quantity step.
Lightweight by design
No extra database tables are added: settings live in one option and product limits in product meta. No front-end JavaScript or CSS is added to your store; the plugin works through WooCommerce’s own quantity and cart validation. It is compatible with WooCommerce High-Performance Order Storage (HPOS) and the block-based Cart & Checkout, and it is translation ready.
Free and Pro
Everything described above is free, with no limits on products or orders.
For larger catalogues, Min Max Order Rules Pro for WooCommerce is available from B2B Managers. Instead of typing limits product by product, you write rules. It adds:
- Rules for a whole category and its subcategories, a list of products or the entire store, with exclusions
- Different quantities per customer role, for example wholesale buys in tens while retail buys in ones
- Minimum and maximum order values and item counts per role
- Quantity limits across a category, such as “at least twelve from Clothing”
- Shop and category buttons that add a quantity your rules accept
- Scheduled rules with start and end dates
Pro reads the same settings and product limits, so nothing needs to be set up again when you upgrade. The free plugin works on its own and does not require Pro.
Part of the B2B Managers range
This plugin is part of a free range of B2B and wholesale tools for WooCommerce by B2B Managers. Each plugin works on its own and they work well together:
- Role Based Pricing for WooCommerce — wholesale and trade prices by user role.
- Tiered Pricing for WooCommerce — quantity-based bulk discounts with a pricing table.
- Hide Price and Add to Cart for WooCommerce — hide prices and the Add to Cart button by role, user, product or category.
- Quick Order Form for WooCommerce — a one-page bulk order form for repeat buyers.
- Catalog Access Rules for WooCommerce — hide products or categories from guests or selected roles.
- Request a Quote for WooCommerce — let customers request a quote instead of checking out.
- Registration Form & Account Approval for WooCommerce — custom registration fields and manual approval of new customer accounts.
- Tax and VAT Exempt for WooCommerce — VAT number field and tax-exempt customers.
- Hide Payment & Shipping Methods by User Role for WooCommerce — a different checkout for each customer group.
Documentation and support
Documentation, setup guides and the full B2B Managers extension catalogue are on b2bmanagers.com. For questions about this plugin, visit the plugin page or use the wordpress.org support forum.
Installation
- In your WordPress admin go to Plugins → Add New, search for “B2BM Minimum Order Quantity”, then install and activate it. WooCommerce must be active.
- Go to WooCommerce → Order Limits and set the storewide defaults you need. Empty fields mean no rule.
- To set limits on a single product, edit it and open Product data → Inventory. Fill in the minimum quantity, maximum quantity and quantity step, then update the product.
FAQ
How do I set a minimum order quantity in WooCommerce?
For every product, go to WooCommerce → Order Limits and enter a default minimum quantity. For a single product, edit it and enter a minimum quantity under Product data → Inventory. The product page quantity box then starts at that number, and smaller quantities are refused.
How do I set a minimum order amount in WooCommerce?
Go to WooCommerce → Order Limits and enter a minimum order amount. Customers whose cart subtotal is below it see a message with the amount and their current subtotal, and the order cannot be placed until they reach it.
Is the minimum order amount before or after shipping and tax?
Before. The cart subtotal, the total of the products without shipping and tax, is compared with your minimum order amount. Coupon discounts are not deducted.
How do I sell products in packs or cases?
Set a quantity step, for example 6 for packs of six or 12 for cases of twelve. Customers can then only order whole packs: 6, 12, 18 and so on. You do not need to set a minimum as well; the first allowed quantity is one full pack.
What happens if the minimum is not a multiple of the step?
The minimum is rounded up to the next multiple. A minimum of 10 with a step of 6 starts at 12, and a maximum of 50 with a step of 6 stops at 48. This matches how the WooCommerce block cart handles quantity steps, so the classic and block cart accept exactly the same quantities.
Can I limit the maximum quantity of a product per order?
Yes. Set a maximum quantity storewide or on the product. Customers cannot add more than that number of the product to a single order. On a product, 0 means unlimited, even when a storewide maximum is set.
Can different products have different limits?
Yes. Storewide defaults apply to every product, and any product can override them with its own minimum, maximum and step in Product data → Inventory. A product field left empty falls back to the storewide default.
What does the customer see if their cart breaks a rule?
A clear error notice on the product page, cart or checkout, for example “The minimum order quantity for “Sunglasses” is 6.” or “”Sunglasses” must be ordered in multiples of 6.” The order cannot be placed until the cart is fixed.
Does it work with variable products?
Yes. Limits set on the parent product apply to all its variations, and the quantity box on the product page follows them. Each variation in the cart is a separate line and is checked against the product’s limits.
What happens if a customer adds more of an item that is already in the cart?
The combined quantity is checked. If the cart already holds 6 and the maximum is 10, adding another 6 is refused with a message.
What happens with the Add to Cart button on shop and category pages?
WooCommerce’s listing button adds a single item. For a product with a higher minimum or a step, that click is refused with a message giving the minimum, and the customer can add the right quantity from the product page. Min Max Order Rules Pro changes the listing button to add a quantity your rules accept.
Does it work with the block cart and checkout?
Yes. The rules are checked through WooCommerce’s standard cart validation, which runs on both the classic and the block cart and checkout, and the block cart’s quantity selector follows the same minimum, maximum and step.
Will it slow down my store?
No. The plugin adds no database tables and no front-end scripts or styles. It uses WooCommerce’s own quantity and cart validation hooks.
Is it compatible with HPOS?
Yes. The plugin does not touch order storage and declares compatibility with WooCommerce High-Performance Order Storage.
Is there a Pro version?
Yes. Min Max Order Rules Pro for WooCommerce adds rules for categories and lists of products, different quantities and order values per customer role, category-wide quantity limits, shop buttons that add an accepted quantity and scheduled rules. Everything described on this page is included in the free plugin.
What happens to my settings if I uninstall?
Deleting the plugin removes its settings and the limits saved on your products. If Min Max Order Rules Pro or the B2B Managers Suite is installed, they are kept because they use them. Your products and orders are not otherwise changed.
Screenshots




Changelog
1.0.1
- Brand: WooManagers is now B2B Managers. The plugin is now called “B2BM Minimum Order Quantity & Amount for WooCommerce”, and the author name and links point to b2bmanagers.com. Your settings and product limits are unchanged.
- Fix: a quantity step now means whole multiples, so a step of 6 allows 6, 12, 18. Before, steps were counted from the minimum (1 when none was set), so a step of 6 allowed 1, 7, 13 and refused 6. The WooCommerce block cart only allows true multiples, so such products could not be checked out there at all.
- Change: if a minimum is not a multiple of the step, it is rounded up to the next multiple (a minimum of 10 with a step of 6 now starts at 12), and the maximum is rounded down. The classic and block cart now accept exactly the same quantities.
- Tweak: error messages are only added when there is a customer session, so adding products to a cart in code without one no longer causes a PHP error.
- Tweak: uninstalling keeps your settings while Min Max Order Rules Pro or the B2B Managers Suite is installed, because they share them.
- Tweak: the plugin stands down when Min Max Order Rules Pro is active, so limits are never applied twice.
- Compatibility: tested with WooCommerce 11.2; declares compatibility with the block-based Cart & Checkout.
1.0.0
- Initial release.
