Pagination Rule Evaluation

Pagination rules are evaluated one-by-one in the list from top to bottom. When the condition of a rule evaluates to True, the associated action is then evaluated. The layout of a page is decided by the sum of all conditions with actions that evaluate to true. The order of evaluation means that one action can override an action associated with a rule further down in the list. Therefore, you should always specify the rule with the more general rule first and the most specific rule last.

The order of the pagination rules can be changed by using drag and drop.

Examples

The following two examples use object layout rules to illustrate pagination rule evaluation.

Example 1

When an object is paginated with object Type OT2, then the first condition Always evaluates to True and the rule assigns the product template template1 to the product. The condition of the second rule (objectType is OT1) evaluates to False, and the action of the second rule is therefore not used.

However, if you paginate an object with object Type OT1, the first condition is still True and the rule assigns the product template template1 to the object. The second condition also evaluates to True and the action for the rule then assigns the product template template2 to the object and then overwrites the assignment done by the first rule.

Example 2

The rules are applied as follows:

To Change the Evaluation Order of Pagination Rules

Click the rule you want to move, then drag and drop it to its new position in the list.