Version note: This guide covers the v1.2.0 development build. Settings may differ from your installed Marketplace version. Verify your version before following these steps; runtime compatibility has not yet been confirmed.
Order rules restrict selected targets until the customer meets the configured purchase-history conditions. These settings and their frontend evaluation exist in the inspected development source and bundle; availability in the distributed Marketplace release still needs confirmation.
Configure an order rule
- Open Order-Based Restriction.
- Turn on Enable Order-Based Restrictions.
- Under Targets, choose the Products and/or Categories to restrict.
- Configure the conditions described below.
- Choose Save Order Settings.
- Test separate customer accounts below, at, and above the configured thresholds.
| Field | Meaning |
|---|---|
| Minimum total spent | The customer’s historical spend must meet or exceed this amount. Zero leaves this condition inactive. This is not a minimum current-cart subtotal. |
| Minimum order count | The customer’s historical order count must meet or exceed this number. Zero leaves this condition inactive. |
| Previous purchase required (any of) | The customer must have previously purchased at least one selected product. Leaving the selection empty makes this condition inactive. |
All configured condition groups must pass together. For example, spend of 500, an order count of 3, and two prerequisite products mean that the customer must meet both numeric thresholds and have purchased either prerequisite product.
The implementation delegates spend, order counts, and purchase checks to WooCommerce customer functions. It does not let you configure a separate order-status list or date window. Test cancellations, refunds, imported orders, and historical guest purchases before promising how those situations affect eligibility.
Use signed-in test customers for a purchase-history offer. The implementation does not identify a logged-out visitor through an email entered later at checkout, so do not promise that guest purchase history will unlock a target.
If every condition is inactive, the order rule adds no restriction. Meeting this rule does not remove a global, role, or country restriction on the same target.
