Minimum And Maximum Quantity per Product

Minimum / Maximum Quantity per Product is a WooCommerce extension that allows store owners to enforce minimum and maximum purchase quantities using a powerful rule-based system.

It supports:

  • Product-level quantity limits
  • Global quantity rules
  • Category-based rules
  • User role-based rules
  • Product type rules
  • Priority-based rule evaluation

This plugin is ideal for wholesale stores, bulk sellers, B2B websites, and inventory-controlled shops.

System Requirements

↑ Back to top

Before installing, ensure your website meets the following requirements:

RequirementMinimum Version
WordPress5.8+
WooCommerce6.0+
PHP7.4+

Installation

↑ Back to top

To start using a product from WooCommerce.com, you can use the โ€œAdd to storeโ€ functionality on the order confirmation page or the My subscriptions section in your account.

  1. Navigate to My subscriptions.
  2. Find the Add to store button next to the product youโ€™re planning to install.
  3. Follow the instructions on the screen, and the product will be automatically added to your store.

Alternative options and more information at:
Managing WooCommerce.com subscriptions.

Adding a WooCommerce.com subscription to your store

Plugin Location (Admin Menu)

↑ Back to top

After activation, the plugin settings are available at:

WooCommerce โ†’ Quantity Rules

This is the main control panel for creating and managing quantity rules.

Rule Types Explained

↑ Back to top

1. Global Rule

↑ Back to top

Location: WooCommerce โ†’ Quantity Rules
Applies To: All products

Example Use Case:

Default store limit for all products

2. Category Rule

↑ Back to top

Location: WooCommerce โ†’ Quantity Rules
Applies To: Selected product categories

Example Use Case:

  • Electronics โ†’ Max 2
  • Accessories โ†’ Max 10

3. User Role Rule

↑ Back to top

Location: WooCommerce โ†’ Quantity Rules
Applies To: Selected user roles

Example Use Case:

  • Wholesale customers โ†’ Min 25, Max 500

4. Product Type Rule

↑ Back to top

Location: WooCommerce โ†’ Quantity Rules
Applies To:

  • Simple products
  • Variable products
  • Grouped products

Rule Priority System

↑ Back to top

Each rule has a Priority value.

  • Lower number = higher priority
  • Rules are evaluated from lowest number to highest
  • First matching rule is applied

Priority Order

↑ Back to top
  1. Product-level quantity settings
  2. Rule-based limits (by priority)
  3. Global fallback rules

Product-Level Quantity Settings

↑ Back to top

Product-level settings override all rules.

How to Set Product-Level Limits

↑ Back to top

Update the product

Go to WooCommerce โ†’ Products

Edit a product: Open Product Data โ†’ Inventory

Set: Minimum Quantity | Maximum Quantity

Frontend Behavior

↑ Back to top

Product Page

↑ Back to top
  • Quantity input respects min/max limits
  • Users cannot select invalid values
  • Limits are visible immediately

Related Products

Offer add-ons like gift wrapping, special messages or other special options for your products.

Add shipment tracking information to your orders.