Menu
Feedback
Known issues
OrderByBestDiscount returns the wrong sorting order
Marketing & Merchandising
•
ID:
Backlog
Published on8/24/2021
•
Last updated on12/22/2022
1 min read

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

  1. Configure at least two trade policies listed in your store.
  2. Create a base price for a SKU.
  3. Create a list price for the same SKU.
  4. 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.

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