Skip to main content
Version: Released

Search Filter

Apply Rule

SearchFilterRule

Returns filtered results of replace product search

Notification level: Not applicable

KeyValue
IDSearchFilterRule
Translation keyNot applicable

Overload Parameter

The overload is formatted as a JSON object, in which each property gives us the parameter to compute the filtered product search results.

Key nameTypeDefault valueDescription
closedTagsarrayMandatory
Defines the list of closed tag IDs of products for which the rule needs to be applied.
filterParametersarrayMandatory.
Defines the names of filter parameters on the basis of which product search results are filtered.

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

Sample


[
{
"closedTags": [ 570, ... ], // list of closed tag IDs
"filterParameters": [ "cornerCabinetSide", ... ] // list of parameter names
},
]

This rule is used to filter the replace product search results based on the filter parametes and closed tag IDs provided in the overloads.


Trigger Conditions

This rule is triggered for products having the filter parameter.

For example, when the user replace the product with the filter parameter "cornerCabinetSide" having value "left" only those products are displayed in replace product search, which have the exact same value(left) for this parameter, as the product being replaced as shown :

Filtered results of replace product search