Sawir Min Max Quantities for WooCommerce
·
Set minimum and maximum purchase quantity rules for WooCommerce products, product categories, and the whole order.
Sawir Min Max Quantities for WooCommerce lets store owners control how many items customers can buy. Set minimum, maximum, and „group of“ multiple quantities per product, per variation, per product category, and for the total number of items in an order. Rules are enforced on product page quantity inputs, when adding to cart, and again on the cart and checkout pages.
Developed by Ricardo Sawir for Sawir Studio LLC.
- Website: https://sawirstudio.com
- X: https://x.com/RicardoSawir
- GitHub: https://github.com/sawirricardo
- Email: ricardo@sawirstudio.com
More plugins by Sawir Studio
- Sawir Restock Notifier for WooCommerce – email customers when out-of-stock products return.
- Sawir Product Image Zoom for WooCommerce – image zoom for product galleries.
- Sawir Variation Gallery Tools for WooCommerce – per-variation image galleries.
- Sawir Media Folders – organize the media library into folders.
- Sawir Live Translate – live front-end translation tools.
Features
- Adds minimum, maximum, and group-of quantity fields to the product Inventory tab.
- Adds optional minimum, maximum, and group-of overrides to each variation.
- Adds minimum, maximum, and group-of quantity fields to product categories.
- Lets category rules apply to the combined cart quantity for that category instead of as a per-product fallback.
- Adds order-level minimum and maximum item limits under WooCommerce > Settings > Products > General.
- Applies a clear precedence: a variation rule wins; otherwise a product rule wins; otherwise the most restrictive unchecked category fallback applies.
- Variations inherit empty fields from their parent product or category fallback.
- Enforces rules on product page and variation quantity inputs, including step values for group-of multiples.
- Blocks add-to-cart actions that would exceed a product maximum.
- Validates all rules on the cart and checkout pages with clear error notices, including multiples such as „must be purchased in multiples of N.“
- Leaves quantity inputs on the cart page free to reach zero so items can still be removed.
- Requires no configuration to install; rules are optional everywhere.
- Cleans up all plugin options and metadata when the plugin is uninstalled.