Your Cart
WooCommerce quantity rules

How to Configure WooCommerce Quantity Rules: Minimums, Maximums, and Purchase Multiples

WooCommerce quantity rules are useful when customers should buy a defined number of units rather than any quantity they choose. A store may need a minimum quantity for a product, a maximum for a variation, a required purchase multiple for case packs, or a restriction that applies across the whole order. These are different policies and should not be configured as if they were the same.

Native WooCommerce does not enforce general minimum, maximum or multiple-purchase quantities by default. The official WooCommerce Min/Max Quantities extension adds these controls at product, variation, category and order level. This guide explains how to choose the right scope, configure the documented settings, understand category inheritance and variation combinations, verify version requirements, and test the complete customer journey before using the rules on a production store.

What WooCommerce Quantity Rules Can Control

Quantity restrictions can operate at several levels. A product-level rule controls a specific product, while a variation-level rule can distinguish between individual variations. Category rules apply to products assigned to a category, and order-level settings evaluate the wider cart or order. The appropriate level depends on what customers must be allowed or required to purchase.

  • Minimum Quantity requires at least the configured number of units.
  • Maximum Quantity caps the permitted quantity within the relevant rule scope.
  • Group of requires quantities to follow a predefined multiple.
  • Order quantity and value rules can define item-count and order-value boundaries.
  • Exclusions prevent selected products from counting toward applicable rules.

Native WooCommerce behavior versus extension-based rules

General WooCommerce quantity rules are not native behavior. The product, variation, category and order controls described in this guide come from the official WooCommerce Min/Max Quantities extension. This distinction matters when planning an installation, troubleshooting a missing setting or explaining the configuration to a client.

WooCommerce does include the native Sold individually setting. It permits one item per order, but it does not prevent a customer from placing multiple separate orders. It also prevents quantity adjustment in the cart. Therefore, it is not a replacement for flexible minimums, maximums or purchase multiples, and it should not be treated as inventory management or fraud prevention.

Before You Configure Rules

Start by describing the rule in operational terms. “Customers must buy six units at a time” points to a purchase multiple. “The cart must contain at least a defined number of items” points to an order-level quantity rule. “Every product in this category needs a minimum” points to category scope. Choosing the scope first helps prevent a product setting from being used where a broader policy is required.

Choose the scope before choosing the value

Decide whether the restriction applies to one product, to each variation, to products in a category, or to the entire order. For variable products, also decide whether quantities for sizes, colors or other variations should be checked separately or combined across variations of the same product.

Before installation, verify the exact extension version and the WordPress, WooCommerce and PHP requirements displayed for that version. The official documentation and marketplace listing show different minimum requirement metadata, so neither set should be treated as universally current without checking the version being installed.

Review the store’s existing configuration as well. In particular, check interactions with Sold individually, stock management, backorders, product bundles, subscriptions, multi-cart features, mini-carts and custom checkout components. The available documentation does not provide a complete compatibility matrix for every theme, page builder, payment gateway or third-party WooCommerce extension, so the target store must be tested directly.

Setting a Minimum or Maximum for a Product

For a rule that applies to an individual product, use the product editor supplied by the extension. This is the most direct configuration path when one product needs a different quantity policy from the rest of the store.

Product editor path

Open the product in the WordPress administration area and go to Product Data > General > Quantity Rules. Enter the required value in Minimum Quantity when customers must purchase at least a defined number of units. Enter a value in Maximum Quantity when the product should not be purchased above a defined amount within the applicable rule context. Save the product after configuring the setting.

The same documented product rule model includes Group of and exclusion options. You do not need to use every field when the requirement is only a minimum or maximum, but reviewing the complete rule scope can prevent an incomplete configuration. Keep the customer-facing explanation aligned with the actual setting so shoppers know how to correct an invalid quantity.

Validate the allowed range

Do not treat saving the setting as the end of the process. Test a quantity below the minimum, a quantity inside the allowed range and a quantity above the maximum. Perform the checks on the product page, in the cart and at checkout. Also test direct quantity changes in the cart, because customers may edit the quantity there rather than returning to the product page.

A maximum quantity limits purchasing under the configured rule; it does not replace stock management or fraud prevention. Those are separate operational concerns and should not be combined into one assumption about what the quantity field controls.

Applying Rules to Variations

Variable products require an explicit decision about how quantities should be evaluated. The extension’s Combine Variations option determines whether quantities are checked separately for each variation or combined across variations of the same product.

Separate variation limits

Use separate variation-specific rules when each variation must meet its own policy. When Combine Variations is disabled, the documented variation fields include Minimum Quantity, Maximum Quantity, Group of and exclusion settings. This allows the rule to be configured for the individual variation rather than treating all variations as one combined quantity.

This approach is relevant when a size, color or other variation has a distinct purchasing requirement. Test each relevant variation independently, including quantities below its minimum, above its maximum and outside its required multiple. Do not assume that a parent-product rule and a variation-specific rule will produce identical validation behavior.

Combined variation quantities

When Combine Variations is enabled, quantities across variations of the same product can be evaluated together. This is the appropriate behavior when customers may satisfy one product-level minimum by selecting a mixture of variations, rather than buying the required amount of one variation alone.

Test mixed-variation carts before publishing the rule. Add different variations, change their quantities directly in the cart and continue through checkout. These checks show whether the configured combined behavior matches the purchasing policy you intended.

Using Group-of Rules for Purchase Multiples

Use the Group of field when a product must be purchased in predefined multiples. This rule is useful for a fixed unit size such as a case pack or another purchasing arrangement where quantities between the permitted multiples should not be accepted.

How the Group of value works

The Group of value represents the required purchasing multiple. With a Group of value of 6, permitted quantities include 6, 12 and 18 rather than quantities between those multiples. The setting can be applied in product, variation or category quantity rules, depending on the required scope.

Before enabling the rule, test valid and invalid multiples. Also check how Group of interacts with Minimum Quantity, Maximum Quantity and available stock. The customer-facing message should state the required multiple clearly, so a shopper understands why a quantity is rejected and how to correct it.

Creating Category and Order-Level Restrictions

Broader purchasing policies should be configured at category or order level rather than copied manually to individual products. These scopes also introduce inheritance, exclusions and precedence details that should be reviewed before the rules are enabled.

Category-level rules and inheritance

Category rules can define Minimum, Maximum and Group of values for products in a category. Products inherit category rules unless they are excluded or have corresponding product-level rules. This makes category configuration suitable for a shared policy across a product group.

A product-level rule for a specific rule type prevents the matching category-level rule from applying to that product. However, category rules for other rule types that remain undefined at product level may still be inherited. For example, defining a product-level minimum does not automatically mean that every other category rule has been replaced. Review each rule type separately and use exclusions deliberately.

Order quantity and order value rules

Order-level settings apply to the wider order rather than only to one product. The documented controls include minimum and maximum order quantity, minimum and maximum order value, and product exclusions. Use order quantity settings when the policy concerns the total item count or the relevant order quantity, and use order value settings when the requirement is based on the order’s value.

Keep category-wide rules and cart-wide rules conceptually separate. A category minimum describes what is required for products in that category; an order minimum describes what is required across the order. Excluded products should be reviewed carefully so they do not count toward an order rule when they are not intended to do so. Test category and order rules independently before combining them.

Testing and Troubleshooting Quantity Restrictions

Quantity rules affect the path from product selection to checkout, so a successful administration save does not prove that the customer experience is correct. Troubleshoot by testing each rule level separately, then test the combinations that will exist in the live store.

A pre-launch validation checklist

  • Test valid and invalid quantities on product, cart and checkout pages.
  • Change quantities directly in the cart and check the resulting validation.
  • Test individual variations and mixed-variation combinations.
  • Review category inheritance, product-level overrides and exclusions.
  • Check mini-carts, custom checkout components and other relevant store interfaces.
  • Review interactions with Sold individually and other WooCommerce extensions.
  • Confirm that messages explain the required minimum, maximum or multiple.
  • Retest after theme or checkout changes before relying on the restriction.

Run these checks on the target store before enabling restrictions in production. Quantity limits should not be used as a substitute for stock management or fraud prevention, and compatibility must be verified directly because a complete matrix for every theme and extension is not documented.

WooCommerce’s native Sold individually setting is suitable for the documented one-item-per-order behavior, but it does not provide general minimums, maximums or purchase multiples. For those requirements, select the extension-based scope that matches the policy: product or variation, category, or order. Use Minimum Quantity and Maximum Quantity for boundaries, Group of for predefined multiples, and exclusions or product-level rules for exceptions. Finally, verify the requirements for the exact extension version and test product, cart and checkout behavior, including variable-product combinations. Explore our WordPress plugins, WooCommerce extensions, themes and membership plans to find the right tools for your website.

Free Worldwide shipping

You can download the products right away at wpbetterplugins.com

Immediate delivery

After the payment is credited, the product is ready for download

International Warranty

Offered in the country of usage

100% Secure Checkout

Stripe / Apple Pay / Google Pay / MasterCard / Visa

Zadzwoń