Order Validation lets you define rules that check the entire cart before an order is placed. If the cart matches your rule’s conditions, checkout is blocked and the customer sees your custom error message.

- Go to Order Validations and click Create validation.
- Configure settings (see below).
- Toggle the rule active.
- Click Save.
| Setting | Description |
|---|
| Status | Active or Inactive |
| Conditions | The rules that decide when checkout should be blocked |
| Condition logic | Block when any condition matches or all conditions match |
| Error message | Message shown to the customer when checkout is blocked |
- The listing shows all rules with their active/inactive status.
- Toggle rules on/off without deleting them.
- Delete a rule to remove it permanently.
- New rules start as Inactive. You must explicitly activate them.
- Works on checkout page only.
| Scenario | Conditions to set |
|---|
| Enforce a minimum order value | Cart total is less than $50, block with message “Minimum order is $50” |
| Prevent guests from buying restricted products | Product tag contains restricted AND Customer is not logged in (use “All” logic) |
| Block first-time customers from large orders (fraud prevention) | Customer order count equals 0 AND Cart total is greater than $500 |
| Require a specific product when buying another | Product A in cart AND Product B not in cart, block with a bundling message |
- Always start rules as Inactive, test them thoroughly, then activate.
- Write error messages that guide customers: “Orders under $50 are not accepted. Please add more items.”
- Use “All” logic when multiple conditions must be true together (more precise blocking).
- Use “Any” logic when you want to catch any one of several situations.
- Combine with Address Validation for complete checkout control.
| Order Validation | Address Validation |
|---|
| Blocks based on cart contents, totals, or customer attributes | Blocks based on shipping address fields |
| Use for minimum orders, product restrictions, customer tier rules | Use for shipping zone restrictions, PO box blocking, unsupported countries |