| 开发者 | sawirricardo |
|---|---|
| 更新时间 | 2026年7月21日 18:48 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/sawir-min-max-quantities-for-woocommerce.Yes. This plugin is built for WooCommerce products, cart, and checkout hooks.
The product rule wins. Category rules only apply to products that have no rule of their own.
Yes. Each variation can set its own minimum, maximum, and group-of values. Empty variation fields inherit from the parent product or category fallback.
"Group of" requires the quantity to be purchased in multiples of that number. For example, a group of 6 allows 6, 12, 18, and so on.
The most restrictive combination applies: the highest minimum, the lowest maximum, and the shared multiple needed to satisfy group-of rules across its unchecked fallback categories.
When enabled on a category, that category's rules apply to the combined quantity of all matching cart items. The category no longer acts as a per-product fallback while that option is enabled.
Yes, as long as the variations have no rules of their own: their quantities are summed and checked against the parent rule. A variation with its own rule is limited individually instead of counting toward the parent total.
Minimums and group-of multiples are enforced on the cart and checkout pages so customers can build up quantity across multiple adds. Checkout stays blocked until the rules are met. Maximums are blocked immediately at add-to-cart.
Leave the field empty (or set it to zero) and save. Empty fields mean no rule.
Yes. Deleting the plugin removes its options, product metadata, and category metadata.