• Extensions
  • Pricing

Free · Built-in

Wow Extensions Hub

Min/Max Quantities

Set minimum and maximum order quantities per product, per variation, and for the entire cart — plus cart subtotal limits, quantity input caps, and automatic checkout blocking when rules are not met.

  • Product & variation

    Own limits for each

  • Cart-wide rules

    Quantity & subtotal

  • No coding

    Hub settings UI

  • Per product limits

    Minimum and maximum quantity fields

  • Per variation limits

    Each variation gets its own range

  • Cart quantity & total

    Store-wide floor and ceiling

  • Quantity input caps

    min / max on number inputs

Features

Everything Min/Max Quantities can do

Product & variation quantity limits

Add Minimum quantity and Maximum quantity fields to any product under Product data → Inventory. Variable products get the same pair on every variation row, validated independently from the parent.

Cart quantity limits

Require a minimum number of items before checkout, or cap the total item count for the whole cart.

Cart total limits

Set a minimum or maximum cart subtotal. Line totals include tax where applicable, so the check matches what the customer pays.

Prevent add to cart

Block add-to-cart requests that would break a rule, and revert invalid quantity updates on the cart page back to the previous value.

Hide checkout when invalid

Hide the proceed-to-checkout buttons on cart and mini-cart while validation errors exist, so nobody reaches checkout with an invalid order.

Quantity input limits

Apply the product min and max directly to WooCommerce quantity inputs on product and cart pages — the stepper simply won’t go out of range.

all variations inherit the same mode and override settings. Hooks both simple and variation calculated prices.

Custom notice messages

Rewrite all four validation notices from the hub using %products%%value%, and %value_cart% placeholders — separate templates for minimum quantity, maximum quantity, minimum cart total, and maximum cart total. Duplicate notices are de-duplicated per request.

Storefront preview

What customers see when a rule is broken

Quantity inputs stay inside the allowed range, invalid updates are reverted, and checkout stays out of reach until the cart is valid.

Rule levels

Three levels of limits, checked together

Every cart recalculation evaluates all three levels and reports each failure once.
Product

Per product

Minimum and maximum quantity under Product data → Inventory. For variable products this is the combined quantity across all variations of that product.
Variation

Per variation

Each variation row gets its own minimum and maximum fields, validated against that variation’s own quantity in the cart.

Cart

Whole cart

Global minimum and maximum item count plus minimum and maximum subtotal, configured once in the hub for the whole store.

Configuration

Global settings reference

Stored in wowexfow_minmax_settings. Saved from Wow Extensions → Settings → Min/Max Quantities. Leave any numeric field empty to disable that rule.
Cart limits
  • Cart minimum quantity

    Minimum total number of items allowed in the cart.

  • Cart maximum quantity

    Maximum total number of items allowed in the cart.

  • Cart minimum total
    Minimum cart subtotal before checkout.
  • Cart maximum total
    Maximum cart subtotal before checkout.
Behavior
  • Prevent add to cart when invalid

    Blocks adds that would break a rule and reverts invalid cart quantity updates.

  • Hide checkout when invalid

    Hides checkout buttons on cart and mini-cart while validation errors exist.

  • Set quantity input limits

    Applies product min and max to quantity inputs on product and cart pages. On by default.

How it works

From setup to storefront

  • 1

    Enable in the hub

    Activate Min/Max Quantities on Wow Extensions → Home. It is enabled by default on plugin activation.

  • 2

    Set cart-wide rules

    Add cart quantity and subtotal limits, then choose whether to block add-to-cart, hide checkout, and cap quantity inputs.

  • 3

    Add per-product limits

    Open any product, go to Product data → Inventory, and set minimum and maximum quantities — including per variation.

FAQ

Common questions

  • Are limits counted per cart line or per product?

    Per product. Quantities are summed across every cart line for the same product (or the same variation) before the rule is checked, so splitting an item into two lines cannot bypass a maximum.

  • How do variation limits interact with parent limits?

    Both are evaluated. A variation’s quantity is checked against the variation fields, and the combined quantity of all variations is checked against the parent product fields.

  • Do cart total limits include tax?

    Yes. The cart total used for validation is the sum of line totals plus line tax, matching what the customer is charged.

  • What happens if someone edits the quantity to an invalid value?

    With “Prevent add to cart when invalid” enabled, the update is reverted to the previous quantity. With it off, the cart shows an error notice and — if enabled — the checkout buttons are hidden.

  • Where are the settings stored?

    Global rules live in the wowexfow_minmax_settings option. Product limits are stored as _wowexfow_min_qty / _wowexfow_max_qty meta (variations use the _var suffix).

More extensions

Explore other Wow Extensions

Pro

One Page Checkout

Product selection and checkout on one page.

pro

Checkout Field Editor

Customize billing, shipping, and additional fields.

pro

Subscription

Recurring products, renewals, and My Account.