Skip to content
DevMarket
Odoo ModulesWordPress PluginsWordPress ThemesShopify ThemesApp TemplatesScripts & UtilitiesBlogSell on DevMarket
PluginWordPressNew

Min/Max Quantity & Minimum Order Rules for WooCommerce

Set minimum and maximum quantities per product, quantity steps, and minimum or maximum order amounts, with clear messages and checkout blocking.

No reviews yet0 salesby TAQNIXUpdated Oct 21, 2026

Description

Protect your margins with simple order rules

Min/Max Quantity & Order Rules for WooCommerce lets you set the smallest and largest quantity customers can buy per product, sell in steps such as cases of six, and require a minimum (or maximum) order amount or number of items. Customers see clear messages, and the checkout is blocked until the rules are met.

Ideal for wholesale, groceries, B2B and any store with minimum order sizes. The plugin is lightweight, object-oriented PHP on standard WooCommerce hooks, with no bloat.

Per-product quantity rules

  • Min Quantity, Max Quantity and Quantity Step fields in Product data → Inventory
  • Global defaults for products without their own rule
  • The quantity selector on the product page adjusts its minimum, maximum and step automatically
  • Variable products are supported: the rule applies to all variations of the product together
  • Rules are checked when adding to the cart, when changing quantities and at checkout
Cart notice showing how much is missing for the minimum order

Minimum and maximum order rules

  • Minimum or maximum order amount, counted before or after coupon discounts, with or without tax
  • Minimum number of items in the cart
  • Clear, editable messages with {minimum}, {current}, {missing} and other placeholders
  • The Proceed to checkout button is hidden until the cart meets the rules, and block checkout is covered too
Order and quantity rules checked at cart and checkout

Built for real stores

  • Exempt user roles, for example wholesale customers or administrators
  • Standard WooCommerce error notices on the cart and checkout
  • Developer filters to change a product's rule or add your own cart rules
Minimum, maximum and step quantity on a product page

Built for developers and store owners

Translation-ready, RTL-friendly, HPOS and block checkout compatible. Only plugin settings and three optional product meta fields are stored; they are removed when you uninstall.

Min/Max quantity and order rules features

What's included

  • The plugin zip, ready to upload
  • Full documentation (HTML and PDF), translation template, licence and changelog

Requirements

WordPress 6.0+, WooCommerce 8.0+, PHP 7.4+. Licensed under GPL-2.0-or-later.

Support & updates

Installation help and bug fixes are included for 6 months, with lifetime updates.

What's in the download

The files in the archive you can download after you buy.

  • Full source code
  • Documentation
  • Installation guide
  • Translation files
  • Licence file
  • Changelog

Customer reviews

Write a review

No reviews yet. Bought this item? Be the first to review it.

Usage

Install and use it in a few lines.

add_filter( 'tqor_product_rule', function ( $rule, $product_id ) {
	if ( 123 === $product_id ) {
		$rule['min'] = 12;
		$rule['step'] = 12;
	}
	return $rule;
}, 10, 2 );

Changelog

Every release, newest first.

v1.0.0

1.0.0 – Initial release

  • Per-product minimum, maximum and step quantities with global defaults
  • Minimum or maximum order amount and minimum item count
  • Editable messages, exempt roles and hidden checkout button
  • Classic and block cart/checkout support; developer filters

Frequently asked questions

Can I set min and max quantity per product?

Yes. Open a product, go to Product data → Inventory and fill Minimum quantity, Maximum quantity and Quantity step. You can also set global defaults.

Does it work with variable products?

Yes. The rule applies to the total quantity of all variations of the product, and the quantity selector follows the rule.

What is the quantity step?

It sells in multiples of a number, for example 6 for cases of six. Customers can only add 6, 12, 18 and so on.

Can I require a minimum order amount?

Yes. Set a minimum (and optionally maximum) order amount, counted before or after discounts and with or without tax.

Is the checkout blocked when a rule is not met?

Yes. The Proceed to checkout button is hidden on the classic cart, and the classic and block checkout both refuse the order with a clear message.

Can wholesale customers skip the rules?

Yes. Enter their role slugs in Exempt user roles, for example wholesale_customer.

Can I change the messages?

Yes. Edit the three messages and use placeholders such as {minimum}, {current} and {missing}.

Is any customer data stored?

No. Only plugin settings and the optional product fields are saved.

Guides

Articles that cover this item and how to choose well.

More from TAQNIX

  • PluginNew

    Variation Swatches for WooCommerce – Color, Image & Button Swatches

    Replace dull dropdowns with color, image and button swatches on product pages and shop grids, with availability states, tooltips and no bloat.

    by TAQNIX
    No reviews yet
    Sales:0$29.00
  • PluginNew

    Wishlist for WooCommerce – Save for Later, Share & Move to Cart

    A fast, lightweight wishlist: heart buttons, guest and logged-in lists, a wishlist page with share link and a most-wishlisted report, with no account required.

    by TAQNIX
    No reviews yet
    Sales:0$24.00
  • PluginNew

    Quantity Discounts for WooCommerce – Tiered Pricing & Bulk Discounts

    Sell more per order with tiered discounts: percentage, amount-off or fixed-price tiers per product, category or store-wide, with a live price table.

    by TAQNIX
    No reviews yet
    Sales:0$29.00
  • PluginNew

    Cart Abandonment Recovery for WooCommerce – Recover Lost Sales

    Capture abandoned carts, send automatic recovery emails with an optional personal coupon and restore the cart in one click.

    by TAQNIX
    No reviews yet
    Sales:0$39.00

Similar items

  • PluginNew

    Variation Swatches for WooCommerce – Color, Image & Button Swatches

    Replace dull dropdowns with color, image and button swatches on product pages and shop grids, with availability states, tooltips and no bloat.

    by TAQNIX
    No reviews yet
    Sales:0$29.00
  • PluginNew

    Wishlist for WooCommerce – Save for Later, Share & Move to Cart

    A fast, lightweight wishlist: heart buttons, guest and logged-in lists, a wishlist page with share link and a most-wishlisted report, with no account required.

    by TAQNIX
    No reviews yet
    Sales:0$24.00
  • PluginNew

    Quantity Discounts for WooCommerce – Tiered Pricing & Bulk Discounts

    Sell more per order with tiered discounts: percentage, amount-off or fixed-price tiers per product, category or store-wide, with a live price table.

    by TAQNIX
    No reviews yet
    Sales:0$29.00
  • PluginNew

    Cart Abandonment Recovery for WooCommerce – Recover Lost Sales

    Capture abandoned carts, send automatic recovery emails with an optional personal coupon and restore the cart in one click.

    by TAQNIX
    No reviews yet
    Sales:0$39.00