Error 'can't create search criteria! error: filter already exists:'brandId'' when creating a promotion excluding more than 1 brand.
ID: 663698
No Fix
Published on 9/22/2022
•
Last update on 2/16/2024
Summary
When creating a promotion the customer can decide to which items the promotion will be applied.
One of the possibilities is to select the items by brand, including or excluding.
When trying to exclude more than 1 brand the following error appears on the UI:
can't create search criteria! error: filter already exists:"brandId"
At the end the promotion will be created correctly and will be applying correctly on cartlinks, this error message is just a warning about the search on the catalog not being made as expected.
Simulation
- Create or enter a promotion;
- Go to step 2 of the promotion and try to exclude more than 1 brand;
- Verify the error message will appear.
Workaround
Since this error has no side effects, except visual while saving the promotion, there is no need for workaround.