The product selection defines which items the ruleset applies to. Think of product selection as a search that ranges over your product catalog. The ruleset applies to the results.
To see where product selection is incorporated into a ruleset, refer to Rulesets and Rules.
product_selection property of a ruleset is a required string enumeration that takes one of the following values:
|The ruleset applies to all products associated with the |
|The ruleset applies only to products that satisfy a specified product search filter.|
Product search filters
A product search filter specifies a property of a product item and an array of values. A ruleset applies only to those product items that satisfy the search filter. A product item satisfies the filter when the value of the specified filter property for that item matches a value in the filter's array.
Each ruleset can include a maximum of one product search filter.
Price Rules supports the following filter properties:
|A list of product collection identifiers.|
|A list of product variant identifiers.|
|A list of product identifiers.|
|A list of vendor names.|
|A list of specific product titles. Titles must be an exact match.|
|A list of alphanumeric stock keeping units (SKUs).|
|A list of product-types.|