Adding Additional Rules to a Rule Set
Continuing from the examples in the previous topics, let's assume that you want to offer the same "Spring and Winter" discount created above, but you only want to offer it to customers with accounts in the New England states (in the U.S.). You can't continue to add conditions to your Date Rule because they cannot match against a customer record. For this reason, you need to add a new Rule as follows.
- Click the Add Rule button and choose Blank Rule
- Change the name of the rule if you wish, to something like New England Customers
- Change the Type field on the new blank Rule to Customer
- Change the Apply When field on the condition to Field: State or Province. Then change the 3rd field (the Operator) to One of the Following. Your condition should then look like this:
- Hold down the CTRL key (or the Apple key on a Mac) while clicking the following states - Connecticut, Maine, Massachusetts, New Hampshire, Rhode Island and Vermont.
- Take a look at the Rule Formula section below at the bottom of the Rule Set:

This formula only appears when there are 2 or more rules in the Rule Set, and is used to tell Squirrelcart how to evaluate the rules. The default value shown above is fine for this example, as we only want to offer the discount when both Rules are true.
- Click

© 2001-2017 Lighthouse Development. All Rights Reserved.