OrderByBestDiscount returns the wrong sorting order
ID:
Backlog
Published on 8/24/2021
•
Last update on 12/22/2022
Summary
The OrderByBestDiscount
sorting is affected by the lowest list price and base price among all available trade policies.
For more sorting-related errors, see this documentation.
Simulation
- Configure at least two trade policies listed in your store.
- Create a base price for a SKU.
- Create a list price for the same SKU.
- Configure the
<vtex.cmc:searchResult/>
control on the product page.
Workaround
There is no workaround in the Portal. However, you can add VTEX Intelligent Search to your store.