Menu
Feedback
Start here

Known issues

Known issues
Error 'can't create search criteria! error: filter already exists:'brandId'' when creating a promotion excluding more than 1 brand.
Pricing & Promotions
ID: 663698
No Fix
Published on9/22/2022
Last updated on2/16/2024
1 min read

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

  1. Create or enter a promotion;
  2. Go to step 2 of the promotion and try to exclude more than 1 brand;
  3. 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.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback