Overview
Minimum, maximum and step quantities per product, plus minimum and maximum order amounts, enforced everywhere from the product page to the block checkout.
- Minimum, maximum and multiples per product
- Minimum order amount
- Clear messages, no wrong orders
Best for: Wholesale, food, packs and limited products
Installation
- Download limitly-min-max-quantities.zip from My account › My plugins or from your order email. Do not unzip it.
- In WordPress, go to Plugins › Add New Plugin › Upload Plugin, choose the zip and click Install Now, then Activate.
Requires WordPress 6.0+, PHP 7.4+, WooCommerce 7.0+. Works with any theme, block themes and page builders.
Features
- Minimum quantity, maximum quantity and “sold in multiples of” per product
- Variations follow the rules of their product
- Quantity fields set accordingly on product pages and in the classic and block cart
- Minimum and maximum order amount, minimum number of items
- Clear messages; the checkout waits until the rules are met
- Rules shown on the product page (“Sold by 6 · maximum 24 per order”)
- Default maximum for all products
For developers
Customize the plugin from your theme’s functions.php or a small plugin, without editing its files (your changes survive updates).
Filters
limitly_applieslimitly_order_ruleslimitly_ruleslimitly_sanitize
add_filter( 'limitly_applies', function ( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Actions
limitly_admin_after_formlimitly_admin_before_formlimitly_admin_form_end
Updates
Updates are free. When a new version is out, it appears in Dashboard › Updates of your WordPress site and you can install it in one click, or turn on automatic updates in Plugins. This works for the zip downloaded from your Woo-Plugins account; older copies can be replaced by downloading the latest version from My plugins. See the changelog.
Frequently asked questions
Does it work with the block cart and checkout?
Yes, the quantity selectors of the block cart follow the rules and the checkout is blocked until they are met.
Can I set a minimum order amount?
Yes, a minimum and a maximum order amount, and a minimum number of items.
Still stuck?
Write to us with your WordPress and WooCommerce versions and what you tried: we answer by email.