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.
| Setting | Description |
|---|
| Validation name | Internal label for this rule |
| Status | Active or Inactive |
| Conditions | Cart/customer conditions that trigger the block |
| Condition logic | Block when any condition matches or all conditions match |
| Error message | Message shown to the customer when checkout is blocked |
Conditions are evaluated against cart contents, totals, customer tags, product tags, and other cart attributes. Address fields and discount fields are excluded from order validation conditions.
- Go to Order Validations and click Create validation.
- Give the rule a name.
- Build your conditions: define what cart state should trigger the block.
- Choose the condition logic (any or all must match).
- Enter the error message the customer will see.
- Toggle the rule active.
- Click Save.
- The listing shows all rules with their active/inactive status.
- Toggle rules on/off without deleting them.
- Delete a rule to remove it permanently.
- Maximum of 25 validation rules per store across address and order validation combined.
- Unlike address validation, order validation checks cart contents and customer attributes, not the shipping address fields.
- New rules start as Inactive. You must explicitly activate them.
- Works on checkout, thank-you page, and order status page.
| 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 |