Zum Inhalt springen

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.

  • 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.

  1. Install WooCommerce and make sure it is active.
  2. Install Minimum from the plugin directory, or upload the minimum folder to /wp-content/plugins/ and activate it through the Plugins screen.
  3. 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.

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=123 for a product, tag_ID=45 for a category.
  • Min, require at least this many units. 0 means no minimum.
  • Max, cap units per order. 0 means no maximum.
  • Step, quantity must be a multiple of this, e.g. 6 forces 6, 12, 18. 0 or 1 means 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.

  1. Add fewer than the minimum to the cart. The unmet-rule notice should appear and checkout should be blocked.
  2. Try to exceed the maximum. The cap should hold, including when you raise the quantity on the cart page.
  3. Add a quantity that breaks the step. The step notice should name the required multiple.
  4. Repeat the checks in both the classic and block cart and checkout, both read the same cart, so both enforce.