What You’ll Learn in This Article:
- The concept and purpose of rulesets in Digioh.
- Benefits of using rulesets for managing display conditions.
- Creating a suppression list
A ruleset is a group of rules that can be added to a box as a single item. This is handy for storing commonly-used display conditions, allowing you to quickly add them to pop ups and edit the rules for these boxes from a single place.
To create a ruleset, hover on the Boxes page and View Current Boxes. Hover on More, and then click on Rulesets.
Click New Ruleset.
You will be prompted to give your new ruleset a name.
After giving it a name and saving it, it will show up on the rulesets page.
Click on the ruleset to add new rules to it. After adding your rules, hit Save & Publish.
Adding Rulesets to boxes
Hover on the Boxes page and View Current Boxes and open the conditions for one of your boxes. You’ll find the Rulesets title in the menu for the list of rules available.
Add the Ruleset rule to your box, then select the ruleset you want to add.
Your new ruleset is now up and running on a box!
Creating a Ruleset from an existing block of rules
If you have previously created a set of rules on a box that you want to turn into a ruleset, you can also do that without needing to re-enter all of the rules! Just open the conditions on the box and select Make Ruleset.
You’ll be prompted to provide a name for the ruleset and then it will be ready for use in your other boxes!
Creating a Suppression List
Rulesets make it easy to suppress more than one box under a specific set of circumstances.
Add the suppression rules you want to use. For example, to keep multiple boxes from showing up on your account, cart, login, and such pages, you might set up something like this:
When you finish adding rules to your suppression list ruleset, add the ruleset to any box the suppression list should apply to.
You can edit rulesets at any time. If you want to add or remove specific URLs to this suppression list, they will automatically be applied to all boxes with this ruleset.