Creating a Visibility Rule
- Go to ADMIN SETUP > Product Administration > Visibility Rules.
- Click Create New.
- In the New Visibility Rule window, enter the following details and click Create.
Field
Description
Rule Name
Enter a name for the visibility rule.
Sequence
Give a sequence number to the new visibility rule. It should have a unique value from existing visibility rules.
Description
Enter a description.
Is Active?
Turn on to make the rule active.
The visibility rule is created and you are directed to the Details tab. - Review the information in the Details tab and complete the fields in Scope tab as required.
Field
Description
Business Object
Select which object you to apply the filter on. This field controls the values available in the Filter Criteria field.
Price List
Search and select the price list.
Users
Search and select the users from the list.
Roles
Search and select the roles from the list.
Inclusion Criteria
Inclusion criteria displays fields from an E-commerce Storefront or CPQ Product Configuration (cart) to be used as criteria for the filter to take into consideration.
Select the fields and expressions you want to use as entry criteria for the filter. You can use a maximum of three fields. If you use multiple fields, the relationship between them is an AND relationship, meaning each expression must evaluate as true.
Click Criteria to open inclusion criteria pop-up. Fill in the following information to define an inclusion rule.
- Object Name
- Field
- Operator
- Value
- Turn ON Logic toggle to set the criteria logic.
Click Add Criteria option to add more criteria. You can click the Delete icon to delete the desired criteria row.
Click Save to save the inclusion criteria or click Remove All to remove.
Filter Criteria
Filter criteria displays fields based on the selected business object. Changing the business object resets the criteria.
Select the fields and expressions you want to use to control which products will be visible when the Inclusion Criteria is met. You can have a standard AND relationship between the expressions or use Advanced Options to the fields together in a more complex formula.
Click Criteria to open filter criteria pop-up. Fill in the following information to define an inclusion rule.
- Field
- Operator
- Map To
- Value
Click Add Criteria option to add more criteria. You can click the Delete icon to delete the desired criteria row.
Click Save to save the filter criteria or click Remove All to remove.
Note: When configuring products, only the products and categories that meet the Filter Criteria and Inclusion Criteria will be visible. - Click Save .
