=== Gatemi Min-Max Quantities ===
Contributors: gatemi
Tags: quantity, minimum, maximum, woocommerce, cart
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Minimum and maximum purchase quantities per product — enforced everywhere, with messages that say exactly what to do.

== Description ==

Set a **minimum** and/or **maximum** purchase quantity on any product,
straight from the product's Inventory tab. One rule engine answers every
surface, so a shopper is never offered a quantity the cart then refuses:

* The quantity selector only offers legal amounts (and starts at the
  minimum), on classic pages and the Cart & Checkout blocks alike.
* Adding to the cart is refused only when it would exceed the maximum —
  counting what the cart already holds, pooled across variations, so a
  limit can't be beaten by splitting an order over lines.
* The cart check blocks checkout while a quantity is outside its rule —
  and the message names the product, the limit, what's in the cart and
  exactly how many to add or remove.

= Looking for more? =

The full edition, [Gatemi Min/Max Quantities for
WooCommerce](https://gatemi.com/plugins/min-max-quantities-for-woocommerce/),
adds "sold in multiples of", per-variation rules, category rules
(inherited by sub-categories), whole-order rules, contradiction
reconciliation, and a one-click importer from WooCommerce Min/Max
Quantities.

== Frequently Asked Questions ==

= Where do I set the rules? =

Edit a product → Product data → Inventory: Minimum quantity and Maximum
quantity. 0 (or empty) means no limit.

= Do variations count together? =

Yes — quantities pool per product, so three of one variation and two of
another count as five against the product's rule. Per-variation rules
are in the full edition.

== Screenshots ==

1. The settings screen.

== Changelog ==

= 1.0.0 =
* Initial release: per-product minimum and maximum quantities enforced on
  the product page, add-to-cart and the cart check, pooled across
  variations.
