Common use cases of product filter
This article lists the common use cases of the product filter.
Case 1: Filter base products along with other specific products
This use case shows you how to filter all base products along with specific products by SKU.
The first condition filters all products in the Base Products category.
The condition group contains four conditions. Each condition filters a product with a specific SKU. The relationship between conditions within the group is Or, so any product with the SKU SKU-00000085, SKU-00000086, SKU-00000087, or SKU-00000091 matches the group conditions.
Since the relationship between the first condition and the condition group is Or, the product filter returns any product that either belongs to the Base Products category or has a SKU matching one of the specific values.
Case 2: Filter products containing only one-time charges
This use case shows you how to filter products that contain only one-time charges.
Assume that a custom field named billing_type__c
has been defined for the Product object. For products with only one-time charges, this field is set to One-Time.
The condition in the product filter returns all products whose billing_type__c
field value is One-Time.