Use Product rule to automatically add, remove, hide, enable and disable product in product bundle.

Selection rule use action with the error condition.

Following action types in selection rule:

Add: It is used to add the specified option.

Remove:  It is used to deselect the specified option.

Enable: If an option is disabled, this action enables the checkbox

Disable: It is used to disable an option so users can’t select it.

Enable and Add: It is used to enable an option and select it.

Disable and Remove: Deselect an option and disable it so users can’t select it.

Show: It is used to show a hidden option.

Hide: It is used to prevent an option from showing.

Show and Add: It is used to show the option and select it.

Remove and Hide: It is used to deselect an option and hide it from view.              

Example: Whenever the door sensor is selected enable and add the motion sensor:

Product Rule Detail

Product Rule Name: Add motion sensor

Active: Checked

Type: Selection

Conditions Met: All

Scope: Product

Evaluation Event: Always

Error Conditions

1. Rule: Add motion sensor

Tested Object: Product Option

Tested Field: SBQQ__ProductCode__c

Operator: equals

Filter Type: Value

Filter Value: DOORSENSOR

2. Rule: Add motion sensor

Tested Object: Product Option

Tested Field: SBQQ__Quantity__c

Operator: greater or equals

Filter Type: Value

Filter Value: 1

Action:

Rule: Add motion sensor

Type: Enable & Add

Product: Motion Sensor

Configuration Rules:

Active: Checked

Product: Home Console

Product Rule: Add motion sensor

Output:

Motion sensor not selected:

Motion sensor added because door sensor is selected: