{"section":"known-issues","requestedLocale":"en","requestedSlug":"sorting-by-discount-ignores-sales-channel-context","locale":"en","slug":"sorting-by-discount-ignores-sales-channel-context","path":"docs/en/known-issues/Intelligent Search/sorting-by-discount-ignores-sales-channel-context.md","branch":"main","content":"## Summary\n\nWhen using Intelligent Search with different prices per sales channel, sorting items by discount doesn't work correctly.\n\nTrade policies do not consider discount or promotional price variations. Updated promotions are discovered while rendering the content (so they are always correct on the product card) but don't affect discount-based sorting (made in a previous moment).\n\nAs a result, discount percentages used to rank products reflects the indexed promotion, producing an incorrect sort order on PLPs.\n\n## Simulation\n\nIn a store with specific promotions or discounts for specific sales channels, access any PLP while sorting by best discount (`OrderByBestDiscountDESC` / `discount:desc`) — you will notice that the order does not reflect the discounts applicable to the active sales channel, as the index holds only the indexed discount values.\n\n## Workaround\n\nN/A"}