Order rules let you automate your order processing workflow by using sets of custom conditions.
When you create an order rule that has multiple conditions, plan your logic carefully. The more complex the order rule, the more chance you have of making mistakes.
The following order rule automatically approves orders placed by specific VIP customers. The first condition makes sure that the order rule will only approve orders that have a price less than $500. If the order’s price is higher, the order rule will not run. The order will be held for manual review.
The following condition determines if the customer's last name is Bluth. For this order rule to meet both conditions, make sure that And is selected. Note that And is selected by default. To change the order rule, select Or. With Or selected, this order rule will approve orders that customer Bluth placed over $500, or orders under $500 that Bluth did not place.
To create a group of sub conditions that depend on the condition of the last name Bluth:
- Select Add Group. For this example, we'll check that the customer's first name meets one of these three criteria: Michael, Lindsay, or Buster.
- To add each first name, select Add Condition.
- At the top of this group, select Or.
With the addition of this subgroup, the order rule will approve orders placed by customers named Michael Bluth, Lindsay Bluth, or Buster Bluth.
The last condition checks to make sure that the order's shipping address is the city of Balboa Island. To add this condition to the first set of conditions, select Add Condition. This condition won't be added to the subgroup of first name conditions.
For complex order rules, add a note to explain your logic. To save your order rule, select OK.
Updated about 1 year ago