Glossary Item Box

Squirrelcart v6.1.0

Rule System - Overview

Overview
Squirrelcart's rule system allows you to control when certain things will happen, based on criteria that you specify. They are used on Discount records to control when a discount will be offered, and on other records throughout Squirrelcart. Before working with the rule system, we recommend that you review this entire section of the documentation. There are 3 main components that comprise the rule system.  
Rule Set

A Rule Set is a set of rules. You can think of it as a group that contains rules and overall information about the rules inside it. When you add 1 or more rules to a record in Squirrelcart, they are automatically added to a Rule Set. You can give a name to a particular Rule Set, a description, and a formula to describe how rules should be evaluated if there are more than 1 present. Only a single rule set can be assigned to a record in Squirrelcart. In the image below, the entire area surrounded in red is a Rule Set.

Rules

Rules are used to store similar conditions. You can think of them as a group used to store conditions that are similar in nature. There are several different type of rules, which are discussed in the Rule topic in this section. A Rule Set can have an unlimited number of Rules. In the image below, the entire area surrounded by red is a single Rule, named Rule 1.


Conditions

Conditions are used to match against criteria that you specify, specific to the Rule type you have selected. A Rule can have an unlimited number of conditions. In the image below, the entire area surrounded in red is a single Condition.

 

 

 


© 2001-2017 Lighthouse Development. All Rights Reserved.