Menu
Feedback
Start here

Known issues

Known issues
Search Navigator filter + Price Range yielding incorrect results
Portal
ID: 504992
No Fix
Published on6/28/2022
Last updated on2/16/2024
1 min read

Summary

Currently, when using the search Navigator brand filter along with a price range in a VTEX Business Edition, products outside of the filtered brand can be shown.


Simulation

  1. Populate the search navigator controller with at least 2 brands, that is for a given category/subcategory, have at least 2 different brands listed:

{"base64":"  ","img":{"width":161,"height":357,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":8832,"url":"https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/Portal/search-navigator-filter-price-range-yielding-incorrect-results_1.png"}}

  1. Subsequently, filter for only Brand B, for instance, now, only the results yielded by this specific brand for this category should be shown,

  2. By interacting with the price range slider, if you filter for a price, the brand filter performed on step #3 is ignored, that is, you'll possibly have products from Brand A being shown on Brand B's results.


Workaround

Directly use the search API using the priceRange and brand filters simultaneously, the search response is sending the correct results https://developers.vtex.com/vtex-rest-api/reference/search-3#productsearchfilteredandordered

(example: https://{accountName}.{environment}.com.br/api/catalog_system/pub/products/search?fq=C%3A%2F1000050%2F1000155?fq=C:/1000050/1000155&P:[20830 TO 24100])

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 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