Salesforce B2C Commerce 20.10 > Commerce Cloud Einstein > Commerce Cloud Einstein Product Recommendations > Recommender Rules

Create and Apply Rules

Rules enable you to manipulate the list of recommended product IDs before passing the list to the storefront at run time.

Note: You are not required to define rules, and it's common for configured recommenders to not use any rules. If you choose to not use rules, all of the product IDs in the list are sent to the storefront in the exact order in which the strategy (or strategies) returned them.

You can create and apply up to 30 rules for any given recommender. Each rule specifies an action, a field, and one or more field values (or attributes).

When Commerce Cloud Einstein applies a rule, it checks each product in the list of IDs returned by the strategy (or strategies), and compares the product's field value to the values specified in the rule. If the product's field value matches the specified field value in the rule―or matches one of the specified values in the rule if there are more than one―the action is applied.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.