Getting started
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Most shops can enforce their first order rule in a few minutes: install Minimum, open the settings, add a rule, and test it in the cart.
Requirements
Section titled “Requirements”- WordPress 6.5 or newer
- WooCommerce 8.0 or newer (HPOS and the Cart and Checkout blocks are both supported)
- PHP 8.1 or newer
Minimum is a WooCommerce extension. If WooCommerce is not active, the plugin stays dormant and shows an admin notice rather than throwing errors.
Install
Section titled “Install”- Install WooCommerce and make sure it is active.
- Install Minimum from the plugin directory, or upload the
minimumfolder to/wp-content/plugins/and activate it through the Plugins screen. - On the Plugins screen, the Minimum row has a Settings link that opens its page directly.
On first activation Minimum seeds default settings so the screen is never empty: enforcement is on, there are no rules yet, the minimum order total is 0 (off), and each notice has built-in default wording.
Add your first rule
Section titled “Add your first rule”Open WooCommerce → Minimum and click + Add rule. Each rule row has:
- Scope, All products (global), Specific product, or Product category.
- Product / Category ID, the numeric ID the rule targets. Disabled for the global scope. To find an ID, open the product or category in the editor and read the number from the URL:
post=123for a product,tag_ID=45for a category. - Min, require at least this many units.
0means no minimum. - Max, cap units per order.
0means no maximum. - Step, quantity must be a multiple of this, e.g.
6forces 6, 12, 18.0or1means no step.
A rule that constrains nothing (min 0, max 0, step 0/1) is dropped when you save, as is a product or category rule with no target ID. If you set a maximum lower than the minimum, the maximum is discarded and the minimum wins.
Separately, Minimum order total sets the smallest cart subtotal a customer can check out with. Set it to 0 to leave the order-total rule off. The currency symbol shown beside the field is your store’s WooCommerce currency.
Start simple, for example one product with a minimum quantity of 3, or a global minimum order total, then Save changes.
Verify on the storefront
Section titled “Verify on the storefront”- Add fewer than the minimum to the cart. The unmet-rule notice should appear and checkout should be blocked.
- Try to exceed the maximum. The cap should hold, including when you raise the quantity on the cart page.
- Add a quantity that breaks the step. The step notice should name the required multiple.
- Repeat the checks in both the classic and block cart and checkout, both read the same cart, so both enforce.
Need help?
Section titled “Need help?”- Configuration, every setting, option key and the dev filter
- Building order rules, worked examples and precedence
- Minimum Pro, per-product overrides and the roadmap
- GitHub issues