Create rule types
Create custom Rule Types and Rule Type Options to further use the Rules Engine in Optimizely Configured Commerce.
Note
Custom development may be required to employ added Rule Types and Rule > Type Options.
Create a rule type
-
Go to Admin Console > Administration > Rule Types.
-
Click Add Rule Type.
You can edit existing rule types and add additional rule type options to them.
-
Enter the name of the Rule Type.
-
Click Save.
Now that a Rule Type is created, the next step is to add Rule Type Options to Rule Type.
Create rule type options
-
Go to Admin Console > Administration > Rule Types.
-
Click Edit on the Rule Type.
-
Click the Rule Options finger tab.
-
Click Add Rule Type Options.
-
Add a description of the Rule Type Option.
-
Select the Criteria Type from the drop-down list.
Criteria Types are coded plug-ins and define the rules around a particular rule type option. The intent is to allow the user interface to be derived automatically from the criteria type so that partners can develop additional rules without having to modify the user interface. -
When applicable, select the Criteria Object and Criteria Property from the contextual drop-down lists.
Selecting Object as a Criteria Type, will provide a super-set of all Criteria Objects available - it is up the Implementer to ensure that the Criteria Object is available at the time a rule is being invoked.
-
Click Save.
Updated over 1 year ago