The exclusion rule prevents certain products from being added to the shopping cart based on predefined conditions. You must create an exclusion rule in CPQ and publish it to use in the commerce platform.

For more information, see Creating a Constraint Rule and Configuring a Constraint Rule Using the Advanced Rule Setup.

The following are the supported product types for the scope Product and Product Group:

  • Standalone → Standalone
  • Standalone → Bundle
  • Bundle → Standalone
  • Bundle → Bundle
  • Bundle → Option
  • Option → Bundle
  • Option → Option

The following are the supported types of Action Intent:

  • Disable Selection
  • Show Message
  • Prompt

The exclusion rule matches when the scope is Product or Product Group. For exclusion type rules (Match All, Match Any, and Match Min/Max), the rule values must be Exclude All, Exclude After One, and Exclude After Max. The maximum match rule for exclusion must have Exclude After Max as the rule value. 

Error and Warning both are supported. In the case of all action intents, the Add to Cart button is disabled on the product catalog page and product details page.

Behavior of Constraint Rule when configuring Include Any for Scope = Product Group or Product Family

When you configure Include Any in Constraint Rule for Scope = Product Group or Product Family, an error or warning message is displayed adding more than one option from the selected product group or product family to the cart.

Sub-bundle

Sub-bundles created up to level 6 are performance compliant.


Managing Constraint Rules