sort by best selling isn't working as expected?

is sort by best selling supposed to sort products by the most ever sold?

I have my collection set to sort by best selling but the order is not showing the items with the most sales first, it appears to be random, item with 11 sales is first, item with 1 sale is second, item with 8 sales is third…and so on

plus the order never changes even if another item starts getting more sales

how do I fix it?

thank you

Hi @sugarhai ,

Shopify’s “sort by best-selling” algorithm is based on the all-time number of orders including each product.

Consider the following example:

  • Product X has sold four items in a single order, for a total of four products sold.
  • Product Y has sold three items across three separate orders, for a total of three products sold.

Even though Product X has sold more units, Product Y would appear higher in the “sort by best-selling” ranking because it appears in more orders.

This calculation is made across the whole lifetime of a Shopify store, excluding factors like recency or seasonality.

And if you’ve launched a brand new store that hasn’t generated any sales yet, Shopify simply orders products from newest to oldest.

If you used an app make about filter /search products after that you need to contact this app to ask they fix this issue.

1 Like

Hi,

Would there by any solution to addressing the “exceptions”? We’re having winter items that are always on top because they sell so much during winter, even in summer. Hiding them is not an option as they can also be purchased in some cases during warmer periods.