Configure
Allowed edits and rules
Allowed edits
Each edit type has its own switch on Editing rules: address, quantity, remove item, swap variant, add item, shipping method, delivery date, note and cancel. Contact details (email, phone) have their own toggle and follow the address switch.
Rules engine
Rules change what is allowed for orders that match a condition. You can have up to 50 rules. Each rule has one condition and one action.
Conditions
| Field | Example |
|---|---|
| Order tag | is wholesale |
| Customer tag | is VIP |
| Product tag | is final-sale |
| Product | is a product id |
| Collection | is a collection id |
| Shipping country | is not US |
| Order total | greater than or equal to / less than or equal to an amount |
| Risk | is high |
| Payment gateway | is Cash on Delivery (COD) |
Operators: is, is not, at least, at most.
Actions
- Block all edits for matching orders.
- Block some edit types, for example no cancel on final-sale items.
- Allow some edit types that are switched off globally, for matching orders only (for example, cancel only for VIP customers).
- Set the window to a number of minutes for matching orders.
Single source of truth
The same eligibility check runs everywhere: the blocks, the edit page and the server that applies the change. A customer cannot get around a rule by calling the page directly.