Skip to main content
Version: Pre-Released

Remove to All

Apply Rule

RemoveAllRule

Check if the selected parameter is eligible for the Remove All option and removes all the parameters mapped with the parameter we are going to remove.

Notification level: Not applicable

KeyValue
IDRemoveAllRule
Translation keyNot applicable

Overload Parameter

The overload is formatted as a JSON object. The overloads of this rule allow retailers to define a precise mapping between a parameter being deleted and the parameters need to be removed with them.

Key nameTypeDefault valueDescription
Can be any parameterobjectOptional
Defines the list of parameters mapped in key-value pair where the key is the selected product id and the value contains an array of suitable items for which the rule needs to be applied.

Note:
Overloads will be the same as the Sample json provided below.

Sample


{
"plinthOption": [{"publicationID":"worktopOption"}, {"publicationID":"wallPanelOption"}],
"worktopOption": [{"publicationID":"plinthOption"}, {"publicationID":"wallPanelOption"}],
"wallPanelOption": [{"publicationID":"worktopOption"}, {"publicationID":"plinthOption"}]
}

This rule offers the retailers to define linked parameters so that removing one component (e.g., param1) also removes its associated components (e.g., param2, param3).

Trigger Conditions

This rule is triggered for parameters available in the RemoveAllRule overloads or If the selected parameter is available in more than one furniture.