Badgezilla

Flex Theme Sections

Checkout Toolbox

Linear Shopping Experiences

Brand-It! Calendar

What is the Shopify Best Selling sort order algorithm

Surprisingly to me, I could not find any documentation on Shopify on the algorithm behind the 'Best Selling' sort order on collection pages.  So I reached out to customer support about it.  Here's their explanation:

Best Selling collection sorting is done by adding up the line items that contain a product_id. So for an order with multiple variants, each variant is counted as one instance.

Example:

  • Product A sells 1 item on 3 orders, total 3 sold.
  • Product B sells 4 items in 1 order, total 4 sold.

Product A will appear higher in Best Selling sorting because it appears on more orders. The sales of all variants per product's line item appearances are totaled to calculate best selling. This information will update in real-time.

The timeframe for the calculation is over the lifetime of the store.

In other words, best selling is just a stack ranking of product sales over the life of the store.  So there's no recency or seasonality to the algorithm.

Now you know!


JadePuma is a certified Shopify Expert. If you need any help with your Shopify store, we can help.


Search