You are here:
Configure Product Filter Rules
Add include and exclude rules in the Product Filter rule builder to control which products from your B2C Commerce catalog sync to ChatGPT.
Before you configure product filter rules, set up the OpenAI integration for your site:
To understand how include and exclude rules combine, see Product Filter Rules.
By default, the rule builder includes one include rule with two preloaded
conditions—Online = true and
Searchable = true—that match the original feed
eligibility behavior. Modify, remove, or add to these defaults to control which products
sync to ChatGPT.
Each site maintains its own independent filter configuration.
-
Click App Launcher
, and then select .
- Click Catalog.
-
Locate the Product Filter section.
The Product Filter section shows the active include and exclude rules. New installations show one include rule with the default Online =
trueand Searchable =trueconditions. -
(Optional) Modify any existing include rule.
-
To remove a condition, click the delete icon next to it.
For example, to include offline products, remove the Online =
truecondition. - To change a condition's value, edit the operator or value field.
-
To remove a condition, click the delete icon next to it.
-
(Optional) To add an include rule, click Add Include Rule and
configure the first condition.
A new rule group appears with an empty condition row.
-
Select a filter type from the dropdown.
Choose from product ID, brand, category, price, inventory, online, searchable, or custom attribute. For the full list of filter types, see Product Filter Rules.
-
Select an operator and enter a value.
Operators vary by filter type. For example, brand supports equals and not equals; price and inventory support comparisons such as greater than or equal to.
-
Select a filter type from the dropdown.
-
(Optional) To require a product to match more than one condition, add more conditions
to the same rule group.
Conditions within a rule group use AND logic—a product matches the group only when all conditions are true.
Example: To include only Nike products priced at $50.00 or more, add a Brand condition with the value
Nike, and then add a Price condition with the operator≥and the value50.00. -
(Optional) To include products that satisfy any of multiple independent conditions, add
another include rule.
Rule groups use OR logic—a product matching any group is included.
Example: To include both Men's Products and Women's Products, click Add Include Rule and add a custom attribute condition
c_groupName = Men's Products. Click Add Include Rule again and add a second conditionc_groupName = Women's Products. -
(Optional) To remove products that match specific criteria, click Add
Exclude Rule and configure the exclude conditions.
Exclude rules override include rules. A product matching any exclude rule is removed from the feed, even if it satisfies an include rule.
Example: To exclude clearance items, add an exclude rule with the custom attribute condition
c_onSale = true. - Click Save.
The system saves your filter rules. The next daily feed sync uses these rules to determine which products to include in the OpenAI product feed.
To control whether products that pass the filter rules are discoverable in ChatGPT search, configure the is_eligible_search field mapping. See Map Product Fields for OpenAI.

