{"id":13881,"date":"2025-04-24T16:00:00","date_gmt":"2025-04-24T16:00:00","guid":{"rendered":"https:\/\/www.getmesa.com/blog\/?p=13881"},"modified":"2025-12-22T23:05:09","modified_gmt":"2025-12-22T23:05:09","slug":"how-to-create-best-seller-collection-shopify","status":"publish","type":"post","link":"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/","title":{"rendered":"How to Create a Best Seller Collection on Shopify"},"content":{"rendered":"\n<p>Nothing draws a crowd like a crowd. A best seller collection on your Shopify store doesn\u2019t just highlight your top-performing products\u2014it taps into your customers\u2019 desire to grab what everyone else is loving. By curating your hottest items in one place, you&#8217;re not just improving visibility\u2014you\u2019re creating urgency, boosting trust, and making it effortless for shoppers to hop on the trend train before it leaves the station.<\/p>\n\n\n\n<p>While Shopify lets you sort any collection by &#8216;best selling,&#8217; it doesn\u2019t give you a way to automatically feature your top-selling products in a dedicated collection that updates daily based on real sales data. That\u2019s where this guide comes in.<\/p>\n\n\n\n<p>This article covers everything you need to know about setting up a Best Seller Collections on Shopify that attract more purchases for the hottest items on your store.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-alpha-channel-opacity has-cyan-bluish-gray-background-color has-background is-style-dots\"\/>\n\n\n\n<p><strong><strong>TL;DR: <strong><strong>Skip the step-by-step tutorial<\/strong>.<\/strong>\u00a0<\/strong><\/strong>Use our template to create a &#8220;Best Sellers&#8221; collection on your Shopify store based on configurable sales data:<\/p>\n\n\n<div class=\"mesa-template-backend frontend-hidden\">\n    <p><strong>MESA Template ID<\/strong><\/p>\n    <p>daily-product-rankings-based-on-sales<\/p>\n<\/div>\n\n<div class=\"mesa-template\" data-template=\"daily-product-rankings-based-on-sales\"><\/div>\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\t\t<style>.mesa-template-backend {\n    background: rgba(139, 139, 150, 0.1);\n    padding: 22px;\n}\n\n.mesa-template-backend h5,\n.mesa-template-backend p {\n    margin: 0 0 5px;\n}\n\n.mesa-template-backend p {\n    font-size: 16px;\n}\n\n.mesa-template-backend p:last-child {\n    display: inline-block;\n    background: #fff;\n    padding: 5px 10px;\n}\n\n.mesa-template-backend p strong {\n    font-size: 12px;\n}<\/style>\n\t\t\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">In this article:<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#How-to-generate-daily-product-rankings-based-on-sales-data\" >How to generate daily product rankings based on sales data<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#What-is-a-Best-Seller-collection-on-Shopify\" >What is a Best Seller collection on Shopify?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Why-create-a-Best-Seller-collection-on-Shopify\" >Why create a Best Seller collection on Shopify<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Increase-product-exposure-to-drive-traffic\" >Increase product exposure to drive traffic<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Show-purchasing-trends\" >Show purchasing trends<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Intuitive-product-organization\" >Intuitive product organization<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Ride-the-sales-momentum\" >Ride the sales momentum<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Automate-collection-merchandising\" >Automate collection merchandising<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Types-of-Best-Seller-collections\" >Types of Best Seller collections<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Overall-top-sellers\" >Overall top sellers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Category-specific-Best-Sellers\" >Category-specific Best Sellers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Time-based-Best-Sellers\" >Time-based Best Sellers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Location-based-Best-Sellers\" >Location-based Best Sellers<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Where-to-show-your-Best-Seller-collection\" >Where to show your Best Seller collection?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Your-homepage\" >Your homepage<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Main-navigation\" >Main navigation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Individual-product-pages\" >Individual product pages<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Conclusion\" >Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/www.getmesa.com/blog\/how-to-create-best-seller-collection-shopify\/#Frequently-asked-questions\" >Frequently asked questions<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-how-to-generate-daily-product-rankings-based-on-sales-data\"><span class=\"ez-toc-section\" id=\"How-to-generate-daily-product-rankings-based-on-sales-data\"><\/span><strong>How to generate daily product rankings based on sales data<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"schema-how-to wp-block-yoast-how-to-block\"><p class=\"schema-how-to-total-time\"><span class=\"schema-how-to-duration-time-text\">Time needed:&nbsp;<\/span>10 minutes<\/p><p class=\"schema-how-to-description\">This workflow ranks products by sales volume and updates a &#8220;Best Sellers&#8221; collection daily so your most popular products are front and center.<br><br>Prerequisites for this tutorial:<br><br>1. Add this supporting workflow template: <a href=\"https:\/\/app.getmesa.com\/discover\/store-shopify-orders-in-database\">Store Shopify Orders in a Database<\/a> &nbsp;and turn it \u201cOn\u201d<br>2. Create a product metafield called <strong>Best Sellers Index<\/strong>.<br>3. Create a smart collection called <strong>Best Sellers<\/strong> configured so that the <strong>Best Sellers Index<\/strong> product metafield value is <strong>greater than zero<\/strong>.<\/p> <ol class=\"schema-how-to-steps\"><li class=\"schema-how-to-step\" id=\"how-to-step-1745431910340\"><strong class=\"schema-how-to-step-name\"><strong>Schedule configuration<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Schedule the automation to run daily at midnight so sales data from the previous full day is captured.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"1232\" class=\"wp-image-13883\" alt=\"Schedule configuration\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-142.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-142.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-142-300x241.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-142-1024x821.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-142-768x616.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1745432046942\"><strong class=\"schema-how-to-step-name\"><strong>Variable setup<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Define and confirm your variables.<br\/><br\/><strong>Days Back<\/strong>: Select the time frame for sales data\u2014commonly 7, 14, or 30 days\u2014to identify products that are popular accurately.\u00a0<br\/><br\/><strong>Limit<\/strong>: Choose the number of products to include in your collection so your customers have a manageable experience.<br\/><br\/><strong>Collection ID<\/strong>: Enter your Shopify collection ID to target the correct collection to update.<br\/><br\/>This is easily obtained by navigating to the Collection in your Shopify admin and grabbing it from the URL:<br\/><br\/><code>https:\/\/admin.shopify.com\/store\/my-store-id\/collections\/collection-id-here<\/code><img loading=\"lazy\" decoding=\"async\" width=\"1504\" height=\"1600\" class=\"wp-image-13884\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-143.png\" alt=\"Variable setup\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-143.png 1504w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-143-282x300.png 282w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-143-963x1024.png 963w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-143-768x817.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-143-1444x1536.png 1444w\" sizes=\"auto, (max-width: 1504px) 100vw, 1504px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1745432112117\"><strong class=\"schema-how-to-step-name\"><strong>Sales data analysis from the Data table<\/strong><\/strong> <p class=\"schema-how-to-step-text\">To determine which products should appear in your Best Seller Collection, we\u2019ll query the Shopify order data\u2014stored and updated in the dependent Data table from the pre-requisite workflow template.<br\/><br\/>Copy\/paste this custom query:<br\/><br\/><code>SELECT<br\/>ROW_NUMBER() OVER (ORDER BY sum(\"Product Quantity\") DESC) AS \"Best Sellers Index\",<br\/>\"Product ID\",<br\/>\"Product Title\",<br\/>sum(\"Product Quantity\") AS \"Quantity\"<br\/>FROM \"Shopify Orders\"<br\/>WHERE \"Order Created At\" > CURRENT_DATE - INTERVAL '{{transform[\"Days Back\"]}} days'<br\/>GROUP BY \"Product ID\", \"Product Title\"<br\/>ORDER BY \"Quantity\" DESC<br\/>LIMIT {{transform[\"Limit\"]}}<\/code><img loading=\"lazy\" decoding=\"async\" width=\"1516\" height=\"1246\" class=\"wp-image-13885\" alt=\"Sales data analysis from the Data table\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-144.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-144.png 1516w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-144-300x247.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-144-1024x842.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-144-768x631.png 768w\" sizes=\"auto, (max-width: 1516px) 100vw, 1516px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1745432198369\"><strong class=\"schema-how-to-step-name\"><strong>Retrieve collection products<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Get the products currently in your Best Sellers collection (up to 100).<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"1054\" class=\"wp-image-13886\" alt=\"Retrieve collection products\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-145.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-145.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-145-300x206.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-145-1024x703.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-145-768x527.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1745432255472\"><strong class=\"schema-how-to-step-name\"><strong>Reset rankings<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Loop through all products in the Best Sellers collection and set their &#8220;best_sellers_index&#8221; metafield to 0.<img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"864\" class=\"wp-image-13887\" alt=\"Reset rankings\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-146.png\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-146.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-146-300x169.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-146-1024x576.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-146-768x432.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1745432317335\"><strong class=\"schema-how-to-step-name\"><strong>Update product rankings<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Apply the new rankings to your products based on fresh sales data.<br\/><br\/><strong>Product Data<\/strong>: Get product data for each item.<br\/><br\/><strong>Metafield Rank<\/strong>: Assign each item&#8217;s updated &#8220;best_sellers_index&#8221; metafield value.<br\/><br\/><strong>Metafield Update<\/strong>: Save these updated ranking details to each product so they reflect current sales on your Shopify store.<img loading=\"lazy\" decoding=\"async\" width=\"997\" height=\"1600\" class=\"wp-image-13888\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-147.png\" alt=\"Update product rankings\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-147.png 997w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-147-187x300.png 187w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-147-638x1024.png 638w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-147-768x1232.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-147-957x1536.png 957w\" sizes=\"auto, (max-width: 997px) 100vw, 997px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1745432419480\"><strong class=\"schema-how-to-step-name\"><strong>Reorder \u201cBest Seller\u201d collection<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Create a custom code step to use Shopify&#8217;s GraphQL API to reorder your Best Sellers collection to match the new product rankings.<br\/><br\/><strong>Product Reorder<\/strong>: Reorder products in the collection based on their new &#8220;best_sellers_index&#8221;.<br\/><br\/><strong>Display Order Sync<\/strong>: Sync the display order of products in the collection to match their new sales-based rankings, and customers can find your most popular items immediately.<br\/><br\/>Copy\/paste this code snippet:<br\/><br\/><code>const Mesa = require('vendor\/Mesa.js');<br\/>const ShopifyGraphql = require('vendor\/ShopifyGraphql.js');<br\/>\/**<br\/>\u00a0* A MESA Script exports a class with a script() method.<br\/>\u00a0*\/<br\/>module.exports = new class {<br\/>\u00a0\u00a0\/**<br\/>\u00a0\u00a0\u00a0* MESA Script<br\/>\u00a0\u00a0\u00a0*<br\/>\u00a0\u00a0\u00a0* @param {object} prevResponse The response from the previous step<br\/>\u00a0\u00a0\u00a0* @param {object} context Additional context about this task<br\/>\u00a0\u00a0\u00a0*\/<br\/>\u00a0\u00a0script = (prevResponse, context) => {<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Retrieve the Variables Available to this step<br\/>\u00a0\u00a0\u00a0\u00a0const vars = context.steps;<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ https:\/\/shopify.dev\/docs\/api\/admin-graphql\/2024-10\/mutations\/collectionReorderProducts<br\/>\u00a0\u00a0\u00a0\u00a0let query = `<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0mutation collectionReorderProducts($id: ID!, $moves: [MoveInput!]!) {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0collectionReorderProducts(id: $id, moves: $moves) {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0job {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0id<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0userErrors {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0field<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0message<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br\/>\u00a0\u00a0\u00a0\u00a0`;<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Send Shopify GraphQL request<br\/>\u00a0\u00a0\u00a0\u00a0const response = ShopifyGraphql.send(query, {<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"id\": \"gid:\/\/shopify\/Collection\/\" + vars[\"transform\"][\"Collection ID\"],<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"moves\": [<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"id\":\"gid:\/\/shopify\/Product\/\" + vars.shopify_2.id,<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"newPosition\": vars[\"loop_2\"][\"Best Sellers Index\"].toString(),<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0]<br\/>\u00a0\u00a0\u00a0\u00a0});<br\/>\u00a0\u00a0\u00a0\u00a0\/\/ Call the next step in this workflow<br\/>\u00a0\u00a0\u00a0\u00a0Mesa.output.next({\"response\": response.data});<br\/>\u00a0\u00a0}<br\/>}<\/code><img loading=\"lazy\" decoding=\"async\" width=\"1536\" height=\"864\" class=\"wp-image-13889\" style=\"max-width:100%;\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-148.png\" alt=\"Reorder \u201cBest Seller\u201d collection\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-148.png 1536w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-148-300x169.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-148-1024x576.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/image-148-768x432.png 768w\" sizes=\"auto, (max-width: 1536px) 100vw, 1536px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1745432586157\"><strong class=\"schema-how-to-step-name\">Turn &#8220;On&#8221; this workflow<\/strong> <p class=\"schema-how-to-step-text\">Run this workflow once for testing. Then, turn \u201cOn\u201d this workflow to have it run automatically.<img loading=\"lazy\" decoding=\"async\" width=\"811\" height=\"751\" class=\"wp-image-13892\" alt=\"Turn &quot;On&quot; template to send shopify orders to Notion database\" src=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/Untitled-design.jpg\" style=\"max-width:100%;\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/Untitled-design.jpg 811w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/Untitled-design-300x278.jpg 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/Untitled-design-768x711.jpg 768w\" sizes=\"auto, (max-width: 811px) 100vw, 811px\" \/><\/p> <\/li><\/ol><\/div>\n\n\n\n<p><strong><br><strong>Save yourself the setup. Use this template instead:<\/strong><\/strong><\/p>\n\n\n<div class=\"mesa-template-backend frontend-hidden\">\n    <p><strong>MESA Template ID<\/strong><\/p>\n    <p>daily-product-rankings-based-on-sales<\/p>\n<\/div>\n\n<div class=\"mesa-template\" data-template=\"daily-product-rankings-based-on-sales\"><\/div>\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-a-best-seller-collection-on-shopify\"><span class=\"ez-toc-section\" id=\"What-is-a-Best-Seller-collection-on-Shopify\"><\/span><strong>What is a Best Seller collection on Shopify?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfdavUjac0M8QqUW1uhLZigddhSqTvTgRLHl5P7XD0UgvUG1Dy2WuE9YHGlZZ6o3hDmj8A_eXfncrCUQVhP1ZVRTDcz9DSBOtNR-6VARzh2urt-23IVmNMKFjNm69yX-yxjTb5pqg?key=bWMcoE81C-MzxUrKUs4BiLmW\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXfdavUjac0M8QqUW1uhLZigddhSqTvTgRLHl5P7XD0UgvUG1Dy2WuE9YHGlZZ6o3hDmj8A_eXfncrCUQVhP1ZVRTDcz9DSBOtNR-6VARzh2urt-23IVmNMKFjNm69yX-yxjTb5pqg?key=bWMcoE81C-MzxUrKUs4BiLmW\" alt=\"Gymshark Best Seller Collection example\"\/><\/a><\/figure>\n\n\n\n<p>The Best Seller Collection on Shopify is a product group dedicated to showcasing the products your customers buy most often. As a result, store owners use this collection to highlight consistent bestsellers and, in turn, help customers find popular products quickly.<\/p>\n\n\n\n<p>Shopify offers multiple ways to manage and display best-selling products. For instance, you can create an automated collection that updates based on real-time sales metrics. You can also manually select products based on your business\u2019s specific criteria. As a result, automated collections reduce maintenance by using Shopify\u2019s sorting to organize products for you.<\/p>\n\n\n\n<p>The benefits for your customers become apparent immediately. A clearly labeled Best Seller Collection reduces browsing time and helps customers find products with proven popularity. This curated approach gives customers social proof, showing that others have bought and loved these products, so they feel more comfortable purchasing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-why-create-a-best-seller-collection-on-shopify\"><span class=\"ez-toc-section\" id=\"Why-create-a-Best-Seller-collection-on-Shopify\"><\/span><strong>Why create a Best Seller collection on Shopify<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-increase-product-exposure-to-drive-traffic\"><span class=\"ez-toc-section\" id=\"Increase-product-exposure-to-drive-traffic\"><\/span>Increase product exposure to drive traffic<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Shopify merchants with large product catalogs struggle to give every product equal visibility. The Best Seller Collection showcases top products and directs customer attention to products that might otherwise be hidden.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-show-purchasing-trends\"><span class=\"ez-toc-section\" id=\"Show-purchasing-trends\"><\/span>Show purchasing trends<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Because customers look to purchasing trends and insights to guide their decisions, showcasing best-sellers instantly highlights what&#8217;s trending and popular.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-intuitive-product-organization\"><span class=\"ez-toc-section\" id=\"Intuitive-product-organization\"><\/span>Intuitive product organization<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>An intuitive layout of popular products makes navigating easy for customers, especially in larger or more diverse stores. Grouping top products by clear themes or categories\u2014like &#8220;Travel Essentials&#8221; or &#8220;Winter Apparel Favorites&#8221;\u2014allows customers to find best sellers without unnecessary browsing.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-ride-the-sales-momentum\"><span class=\"ez-toc-section\" id=\"Ride-the-sales-momentum\"><\/span>Ride the sales momentum<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Successful products create a positive feedback loop and generate more sales momentum. By featuring these well-performing products, you can leverage their existing popularity to increase overall revenue.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-automate-collection-merchandising\"><span class=\"ez-toc-section\" id=\"Automate-collection-merchandising\"><\/span>Automate collection merchandising<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Updating collections manually requires much effort, especially during peak sales or fast-changing trends. Automated workflows that update your Best Seller Collection based on real-time sales data reduce the manual work.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-types-of-best-seller-collections\"><span class=\"ez-toc-section\" id=\"Types-of-Best-Seller-collections\"><\/span><strong>Types of Best Seller collections<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Determine the right collection type for your store&#8217;s product assortment, customer demographics, and promotional strategy.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-overall-top-sellers\"><span class=\"ez-toc-section\" id=\"Overall-top-sellers\"><\/span>Overall top sellers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>An &#8220;Overall Top Sellers&#8221; collection showcases the top-performing products across your entire inventory, regardless of categories or themes. It allows customers to see products that consistently sell well and guides them to products with proven demand.<\/p>\n\n\n\n<p>For example, an outdoor gear store might feature popular items like YETI coolers or Hydro Flask bottles, capitalizing on their broad customer appeal.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-category-specific-best-sellers\"><span class=\"ez-toc-section\" id=\"Category-specific-Best-Sellers\"><\/span>Category-specific Best Sellers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Since collections by category work well for stores with diverse product lines, separating best-sellers helps customers find products for their specific needs.<\/p>\n\n\n\n<p>A beauty store might create separate collections for top skincare products, haircare essentials, and makeup favorites so customers can quickly find products that match their interests.<\/p>\n\n\n\n<aside class=\"section-single-related\" aria-labelledby=\"related-heading-13065\">\n\t<p id=\"related-heading-13065\">\n\t\tRelated article:\n\t<\/p>\n\n\t<article class=\"card-aside\">\n\t\t<a href=\"https:\/\/www.getmesa.com/blog\/how-to-add-products-to-a-collection-in-shopify-using-and-or-logic\/\" class=\"card-aside__link\">\n\t\t\t<figure class=\"card__image\">\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/shopify-product-collection-1024x576.png\" class=\"attachment-large size-large wp-post-image\" alt=\"How to Organize Shopify Product Collections using AND, OR Logic\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/shopify-product-collection-1024x576.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/shopify-product-collection-300x169.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/shopify-product-collection-768x432.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/shopify-product-collection.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\t\t\t<\/figure><!-- \/.card__image -->\n\n\t\t\t<p class=\"card__title\">\n\t\t\t\t<strong>How to Organize Shopify Product Collections using AND, OR Logic<\/strong>\n\t\t\t<\/p><!-- \/.card__title -->\n\n\t\t\t<span class=\"btn btn--outline card__btn card__btn--alt\" aria-hidden=\"true\">\n\t\t\t\tRead article\t\t\t<\/span>\n\t\t<\/a>\n\t<\/article>\n<\/aside>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-time-based-best-sellers\"><span class=\"ez-toc-section\" id=\"Time-based-Best-Sellers\"><\/span>Time-based Best Sellers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Collections by time frame highlight popular products within a specific period, allowing merchants to leverage timely trends or seasonal demand. Common formats are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Weekly Favorites<\/strong>: Useful for fast-changing markets, weekly collections can feature recently trending items like new sneakers or popular streaming devices, keeping your store current with customer interests.<\/li>\n\n\n\n<li><strong>Monthly Best Sellers<\/strong>: Good for capturing long-term popularity, monthly collections can feature consistently in-demand items like best-selling coffee makers or fitness trackers.<\/li>\n\n\n\n<li><strong>Seasonal Highlights<\/strong>: Ideal for focusing customer attention on products relevant to specific times of year. Examples are beachwear and sunscreen in summer or winter coats and insulated boots in winter.<\/li>\n<\/ul>\n\n\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-location-based-best-sellers\"><span class=\"ez-toc-section\" id=\"Location-based-Best-Sellers\"><\/span>Location-based Best Sellers<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>As a result, multi-region stores benefit from location-based collections that highlight local trends and personalize the shopping experience.<\/p>\n\n\n\n<p>For example, an international brand selling clothing might promote lightweight apparel to customers in warmer climates and insulated attire to customers in cooler regions, aligning product offerings with local customer needs.<\/p>\n\n\n\n<aside class=\"section-single-related\" aria-labelledby=\"related-heading-12958\">\n\t<p id=\"related-heading-12958\">\n\t\tRelated article:\n\t<\/p>\n\n\t<article class=\"card-aside\">\n\t\t<a href=\"https:\/\/www.getmesa.com/blog\/shopify-collection-by-product-sku-pattern\/\" class=\"card-aside__link\">\n\t\t\t<figure class=\"card__image\">\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/collection-by-sku-patterns-1024x576.png\" class=\"attachment-large size-large wp-post-image\" alt=\"How to Organize Shopify Collections Using SKU Patterns\" srcset=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/collection-by-sku-patterns-1024x576.png 1024w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/collection-by-sku-patterns-300x169.png 300w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/collection-by-sku-patterns-768x432.png 768w, https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/collection-by-sku-patterns.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/>\t\t\t<\/figure><!-- \/.card__image -->\n\n\t\t\t<p class=\"card__title\">\n\t\t\t\t<strong>How to Organize Shopify Collections Using SKU Patterns<\/strong>\n\t\t\t<\/p><!-- \/.card__title -->\n\n\t\t\t<span class=\"btn btn--outline card__btn card__btn--alt\" aria-hidden=\"true\">\n\t\t\t\tRead article\t\t\t<\/span>\n\t\t<\/a>\n\t<\/article>\n<\/aside>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-where-to-show-your-best-seller-collection\"><span class=\"ez-toc-section\" id=\"Where-to-show-your-Best-Seller-collection\"><\/span><strong>Where to show your Best Seller collection?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Position your Best Seller Collection across your Shopify store and promotional channels to maximize visibility.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-your-homepage\"><span class=\"ez-toc-section\" id=\"Your-homepage\"><\/span>Your homepage<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Since your homepage is often the first entry point, showcase your Best Seller Collection front and center. This helps customers quickly see what&#8217;s trending and what others are buying. Additionally, add sections like &#8220;Trending Now&#8221; or &#8220;Customer Favorites&#8221; to grab attention at the top.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-main-navigation\"><span class=\"ez-toc-section\" id=\"Main-navigation\"><\/span>Main navigation<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Include your Best Seller Collection in your store&#8217;s main navigation menu so customers can find popular products from anywhere they browse. Clear labeling, such as &#8220;Top Picks&#8221; or &#8220;Shop Our Most Popular&#8221;, allows customers to quickly identify and navigate to these top products.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-individual-product-pages\"><span class=\"ez-toc-section\" id=\"Individual-product-pages\"><\/span>Individual product pages<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>When customers view individual product pages, showing relevant best-selling products offers suggestions and encourages additional sales. Add sections like &#8220;You Might Also Like&#8221; or &#8220;Frequently Bought Together&#8221; below product details to recommend related or similar top-performing products.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Intentional product selection and grouping communicate your store&#8217;s expertise and position your brand as the authority customers can trust when making purchasing decisions. This authority can lead to long-term customer loyalty and repeat visits.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-frequently-asked-questions\"><span class=\"ez-toc-section\" id=\"Frequently-asked-questions\"><\/span><strong>Frequently asked questions<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1745432876379\"><strong class=\"schema-faq-question\"><strong>How often should I update my Best Seller Collection?<\/strong><\/strong> <p class=\"schema-faq-answer\">It&#8217;s recommended to update your Best Seller Collection regularly, such as daily or weekly, to ensure that it accurately reflects your current top-selling products.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1745432884838\"><strong class=\"schema-faq-question\"><strong>Can I create multiple Best Seller Collections for different product categories?<\/strong><\/strong> <p class=\"schema-faq-answer\">Yes, you can create separate Best Seller Collections for different product categories to help customers easily find the most popular items within each category.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1745432895501\"><strong class=\"schema-faq-question\"><strong>How can I automate the process of updating my Best Seller Collection?<\/strong><\/strong> <p class=\"schema-faq-answer\">To simplify the process, you can use an automation tool like MESA to update your Best Seller Collection using real-time sales data.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1745432904832\"><strong class=\"schema-faq-question\"><strong>What if I want to manually curate my Best Seller Collection?<\/strong><\/strong> <p class=\"schema-faq-answer\">While automation is convenient, you can also manually curate your Best Seller Collection by selecting products based on your own criteria or marketing goals.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1745432923610\"><strong class=\"schema-faq-question\"><strong>Can I customize the appearance of my Best Seller Collection?<\/strong><\/strong> <p class=\"schema-faq-answer\">Yes, Shopify allows you to customize the appearance of your <a href=\"https:\/\/www.getmesa.com\/blog\/how-to-add-products-to-a-collection-in-shopify-using-and-or-logic\/\">shopify product collections<\/a>, including your Best Seller Collection, to match your store&#8217;s branding and design.<\/p> <\/div> <\/div>\n\n\n\n<div class=\"card-next-steps\">\n\t<div class=\"card__content\">\n\t\t<h4>What to do next&#8230;<\/h4>\n<p>The fastest way to see automation working in your store is to start with a single workflow.<\/p>\n<ol>\n<li><a href=\"https:\/\/www.getmesa.com\/pricing\"><strong>Try MESA free<\/strong><\/a> \u2014 start a 7-day free trial and get your first workflow running.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/templates\"><strong>Browse the template library<\/strong><\/a> \u2014 pre-built workflows for the most common Shopify automation tasks.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/yedric\"><strong>Talk to Yedric<\/strong><\/a> \u2014 describe what you want to automate, and let our AI assistant build it for you.<\/li>\n<li><a href=\"https:\/\/www.getmesa.com\/support\"><strong>Get free workflow setup<\/strong><\/a> \u2014 MESA&#8217;s team will build your first workflow at no cost.<\/li>\n<\/ol>\n\t<\/div><!-- \/.card__content -->\n\n\t\n<div class=\"socials card__socials\">\n\t<ul>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/twitter.com\/getmesa\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/twitter-icon.svg\" class=\"attachment-small size-small\" alt=\"icon: twitter\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/www.youtube.com\/@getmesa\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/youtube-icon.svg\" class=\"attachment-small size-small\" alt=\"icon: youtube\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t\t\t<li>\n\t\t\t\t<a href=\"https:\/\/www.linkedin.com\/company\/9754608\/\" target=\"_blank\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/linkedin-icon.svg\" class=\"attachment-small size-small\" alt=\"linkedin icon\" \/>\t\t\t\t<\/a>\n\t\t\t<\/li>\n\t\t\t<\/ul>\n<\/div><!-- \/.socials -->\n<\/div><!-- \/.card-next-steps -->\n\n\n\n<p><br><\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p><br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nothing draws a crowd like a crowd. A best seller collection on your Shopify store doesn\u2019t just highlight your top-performing&#8230;<\/p>\n","protected":false},"author":1,"featured_media":13895,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[48],"tags":[66],"class_list":["post-13881","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-workflow-tutorials","tag-shopify"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.8 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Manage a Daily Best Seller Collection on Shopify<\/title>\n<meta name=\"description\" content=\"How to manage a best seller collection Shopify: Boost sales and highlight top products with our guide to build a daily best sellers collection.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a Best Seller Collection on Shopify\" \/>\n<meta property=\"og:description\" content=\"Nothing draws a crowd like a crowd. A best seller collection on your Shopify store doesn\u2019t just highlight your top-performing products\u2014it taps into your\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/\" \/>\n<meta property=\"og:site_name\" content=\"MESA\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/mesabyshoppad\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-24T16:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-22T23:05:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/best-seller-collection.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ryan ODonnell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@getmesa\" \/>\n<meta name=\"twitter:site\" content=\"@getmesa\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ryan ODonnell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/\"},\"author\":{\"name\":\"Ryan ODonnell\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/person\\\/5ed8ee9c6f19090c4d5acb4f45efacb4\"},\"headline\":\"How to Create a Best Seller Collection on Shopify\",\"datePublished\":\"2025-04-24T16:00:00+00:00\",\"dateModified\":\"2025-12-22T23:05:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/\"},\"wordCount\":1576,\"publisher\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/best-seller-collection.png\",\"keywords\":[\"shopify\"],\"articleSection\":[\"Workflow Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":[\"WebPage\",\"FAQPage\"],\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/\",\"name\":\"How to Manage a Daily Best Seller Collection on Shopify\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/best-seller-collection.png\",\"datePublished\":\"2025-04-24T16:00:00+00:00\",\"dateModified\":\"2025-12-22T23:05:09+00:00\",\"description\":\"How to manage a best seller collection Shopify: Boost sales and highlight top products with our guide to build a daily best sellers collection.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#breadcrumb\"},\"mainEntity\":[{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432876379\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432884838\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432895501\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432904832\"},{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432923610\"}],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/best-seller-collection.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com/blog\\\/wp-content\\\/uploads\\\/best-seller-collection.png\",\"width\":1280,\"height\":720,\"caption\":\"How to Create a Best Seller Collection on Shopify\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create a Best Seller Collection on Shopify\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\",\"name\":\"MESA\",\"description\":\"Discover how to automate your Shopify growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#organization\",\"name\":\"MESA - AI automation Platform\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/mesa-shoppad.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/mesa-shoppad.jpeg\",\"width\":225,\"height\":225,\"caption\":\"MESA - AI automation Platform\"},\"image\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/web.facebook.com\\\/mesabyshoppad\\\/\",\"https:\\\/\\\/x.com\\\/getmesa\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/shoppad\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCqsf_WhcGEsZMvms1idivyw\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/#\\\/schema\\\/person\\\/5ed8ee9c6f19090c4d5acb4f45efacb4\",\"name\":\"Ryan ODonnell\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g\",\"caption\":\"Ryan ODonnell\"},\"sameAs\":[\"https:\\\/\\\/www.getmesa.com\"],\"jobTitle\":\"Director of Marketing\",\"worksFor\":\"MESA\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432876379\",\"position\":1,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432876379\",\"name\":\"How often should I update my Best Seller Collection?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"It's recommended to update your Best Seller Collection regularly, such as daily or weekly, to ensure that it accurately reflects your current top-selling products.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432884838\",\"position\":2,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432884838\",\"name\":\"Can I create multiple Best Seller Collections for different product categories?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes, you can create separate Best Seller Collections for different product categories to help customers easily find the most popular items within each category.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432895501\",\"position\":3,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432895501\",\"name\":\"How can I automate the process of updating my Best Seller Collection?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"To simplify the process, you can use an automation tool like MESA to update your Best Seller Collection using real-time sales data.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432904832\",\"position\":4,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432904832\",\"name\":\"What if I want to manually curate my Best Seller Collection?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"While automation is convenient, you can also manually curate your Best Seller Collection by selecting products based on your own criteria or marketing goals.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"Question\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432923610\",\"position\":5,\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#faq-question-1745432923610\",\"name\":\"Can I customize the appearance of my Best Seller Collection?\",\"answerCount\":1,\"acceptedAnswer\":{\"@type\":\"Answer\",\"text\":\"Yes, Shopify allows you to customize the appearance of your <a href=\\\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-add-products-to-a-collection-in-shopify-using-and-or-logic\\\/\\\">shopify product collections<\\\/a>, including your Best Seller Collection, to match your store's branding and design.\",\"inLanguage\":\"en-US\"},\"inLanguage\":\"en-US\"},{\"@type\":\"HowTo\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#howto-1\",\"name\":\"How to Create a Best Seller Collection on Shopify\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#article\"},\"description\":\"This workflow ranks products by sales volume and updates a \\\"Best Sellers\\\" collection daily so your most popular products are front and center.&lt;br>&lt;br>Prerequisites for this tutorial:&lt;br>&lt;br>1. Add this supporting workflow template: &lt;a href=\\\"https:\\\/\\\/app.getmesa.com\\\/discover\\\/store-shopify-orders-in-database\\\">Store Shopify Orders in a Database&lt;\\\/a> \u00a0and turn it \u201cOn\u201d&lt;br>2. Create a product metafield called &lt;strong>Best Sellers Index&lt;\\\/strong>.&lt;br>3. Create a smart collection called &lt;strong>Best Sellers&lt;\\\/strong> configured so that the &lt;strong>Best Sellers Index&lt;\\\/strong> product metafield value is &lt;strong>greater than zero&lt;\\\/strong>.\",\"totalTime\":\"P0DT0H10M\",\"step\":[{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#how-to-step-1745431910340\",\"name\":\"Schedule configuration\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Schedule the automation to run daily at midnight so sales data from the previous full day is captured.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#schema-image-edbe1ea6c8eb4bf6df551e05701e6fb6\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-142.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-142.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#how-to-step-1745432046942\",\"name\":\"Variable setup\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Define and confirm your variables.Days Back: Select the time frame for sales data\u2014commonly 7, 14, or 30 days\u2014to identify products that are popular accurately.\u00a0Limit: Choose the number of products to include in your collection so your customers have a manageable experience.Collection ID: Enter your Shopify collection ID to target the correct collection to update.This is easily obtained by navigating to the Collection in your Shopify admin and grabbing it from the URL:https:\\\/\\\/admin.shopify.com\\\/store\\\/my-store-id\\\/collections\\\/collection-id-here\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#schema-image-afffba89272988b40337ff8da1f160df\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-143.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-143.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#how-to-step-1745432112117\",\"name\":\"Sales data analysis from the Data table\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"To determine which products should appear in your Best Seller Collection, we\u2019ll query the Shopify order data\u2014stored and updated in the dependent Data table from the pre-requisite workflow template.Copy\\\/paste this custom query:SELECTROW_NUMBER() OVER (ORDER BY sum(\\\"Product Quantity\\\") DESC) AS \\\"Best Sellers Index\\\",\\\"Product ID\\\",\\\"Product Title\\\",sum(\\\"Product Quantity\\\") AS \\\"Quantity\\\"FROM \\\"Shopify Orders\\\"WHERE \\\"Order Created At\\\" > CURRENT_DATE - INTERVAL '{{transform[\\\"Days Back\\\"]}} days'GROUP BY \\\"Product ID\\\", \\\"Product Title\\\"ORDER BY \\\"Quantity\\\" DESCLIMIT {{transform[\\\"Limit\\\"]}}\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#schema-image-aba420a32a986351820e7e93182589fb\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-144.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-144.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#how-to-step-1745432198369\",\"name\":\"Retrieve collection products\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Get the products currently in your Best Sellers collection (up to 100).\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#schema-image-4e724aa85db9936212b9351f60fca3a3\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-145.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-145.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#how-to-step-1745432255472\",\"name\":\"Reset rankings\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Loop through all products in the Best Sellers collection and set their \\\"best_sellers_index\\\" metafield to 0.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#schema-image-fab726f5c026b0c55fd99e65c157f582\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-146.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-146.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#how-to-step-1745432317335\",\"name\":\"Update product rankings\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Apply the new rankings to your products based on fresh sales data.Product Data: Get product data for each item.Metafield Rank: Assign each item's updated \\\"best_sellers_index\\\" metafield value.Metafield Update: Save these updated ranking details to each product so they reflect current sales on your Shopify store.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#schema-image-ef090f5a0e697ce2766d2cf1b427ee36\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-147.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-147.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#how-to-step-1745432419480\",\"name\":\"Reorder \u201cBest Seller\u201d collection\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Create a custom code step to use Shopify's GraphQL API to reorder your Best Sellers collection to match the new product rankings.Product Reorder: Reorder products in the collection based on their new \\\"best_sellers_index\\\".Display Order Sync: Sync the display order of products in the collection to match their new sales-based rankings, and customers can find your most popular items immediately.Copy\\\/paste this code snippet:const Mesa = require('vendor\\\/Mesa.js');const ShopifyGraphql = require('vendor\\\/ShopifyGraphql.js');\\\/**\u00a0* A MESA Script exports a class with a script() method.\u00a0*\\\/module.exports = new class {\u00a0\u00a0\\\/**\u00a0\u00a0\u00a0* MESA Script\u00a0\u00a0\u00a0*\u00a0\u00a0\u00a0* @param {object} prevResponse The response from the previous step\u00a0\u00a0\u00a0* @param {object} context Additional context about this task\u00a0\u00a0\u00a0*\\\/\u00a0\u00a0script = (prevResponse, context) => {\u00a0\u00a0\u00a0\u00a0\\\/\\\/ Retrieve the Variables Available to this step\u00a0\u00a0\u00a0\u00a0const vars = context.steps;\u00a0\u00a0\u00a0\u00a0\\\/\\\/ https:\\\/\\\/shopify.dev\\\/docs\\\/api\\\/admin-graphql\\\/2024-10\\\/mutations\\\/collectionReorderProducts\u00a0\u00a0\u00a0\u00a0let query = `\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0mutation collectionReorderProducts($id: ID!, $moves: [MoveInput!]!) {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0collectionReorderProducts(id: $id, moves: $moves) {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0job {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0id\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0userErrors {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0field\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0message\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0`;\u00a0\u00a0\u00a0\u00a0\\\/\\\/ Send Shopify GraphQL request\u00a0\u00a0\u00a0\u00a0const response = ShopifyGraphql.send(query, {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\\\"id\\\": \\\"gid:\\\/\\\/shopify\\\/Collection\\\/\\\" + vars[\\\"transform\\\"][\\\"Collection ID\\\"],\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\\\"moves\\\": [\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\\\"id\\\":\\\"gid:\\\/\\\/shopify\\\/Product\\\/\\\" + vars.shopify_2.id,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\\\"newPosition\\\": vars[\\\"loop_2\\\"][\\\"Best Sellers Index\\\"].toString(),\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0]\u00a0\u00a0\u00a0\u00a0});\u00a0\u00a0\u00a0\u00a0\\\/\\\/ Call the next step in this workflow\u00a0\u00a0\u00a0\u00a0Mesa.output.next({\\\"response\\\": response.data});\u00a0\u00a0}}\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#schema-image-1269f92a8bf90e17422f7ae75562d8f6\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-148.png\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/image-148.png\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#how-to-step-1745432586157\",\"name\":\"Turn \\\"On\\\" this workflow\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Run this workflow once for testing. Then, turn \u201cOn\u201d this workflow to have it run automatically.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/how-to-create-best-seller-collection-shopify\\\/#schema-image-d3954f62ee9fe33a8621d274c8c60803\",\"url\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/Untitled-design.jpg\",\"contentUrl\":\"https:\\\/\\\/www.getmesa.com\\\/blog\\\/wp-content\\\/uploads\\\/Untitled-design.jpg\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Manage a Daily Best Seller Collection on Shopify","description":"How to manage a best seller collection Shopify: Boost sales and highlight top products with our guide to build a daily best sellers collection.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/","og_locale":"en_US","og_type":"article","og_title":"How to Create a Best Seller Collection on Shopify","og_description":"Nothing draws a crowd like a crowd. A best seller collection on your Shopify store doesn\u2019t just highlight your top-performing products\u2014it taps into your","og_url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/","og_site_name":"MESA","article_publisher":"https:\/\/web.facebook.com\/mesabyshoppad\/","article_published_time":"2025-04-24T16:00:00+00:00","article_modified_time":"2025-12-22T23:05:09+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/best-seller-collection.png","type":"image\/png"}],"author":"Ryan ODonnell","twitter_card":"summary_large_image","twitter_creator":"@getmesa","twitter_site":"@getmesa","twitter_misc":{"Written by":"Ryan ODonnell","Est. reading time":"18 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#article","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/"},"author":{"name":"Ryan ODonnell","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/person\/5ed8ee9c6f19090c4d5acb4f45efacb4"},"headline":"How to Create a Best Seller Collection on Shopify","datePublished":"2025-04-24T16:00:00+00:00","dateModified":"2025-12-22T23:05:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/"},"wordCount":1576,"publisher":{"@id":"https:\/\/www.getmesa.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/best-seller-collection.png","keywords":["shopify"],"articleSection":["Workflow Tutorials"],"inLanguage":"en-US"},{"@type":["WebPage","FAQPage"],"@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/","url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/","name":"How to Manage a Daily Best Seller Collection on Shopify","isPartOf":{"@id":"https:\/\/www.getmesa.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#primaryimage"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#primaryimage"},"thumbnailUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/best-seller-collection.png","datePublished":"2025-04-24T16:00:00+00:00","dateModified":"2025-12-22T23:05:09+00:00","description":"How to manage a best seller collection Shopify: Boost sales and highlight top products with our guide to build a daily best sellers collection.","breadcrumb":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#breadcrumb"},"mainEntity":[{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432876379"},{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432884838"},{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432895501"},{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432904832"},{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432923610"}],"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#primaryimage","url":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/best-seller-collection.png","contentUrl":"https:\/\/www.getmesa.com/blog\/wp-content\/uploads\/best-seller-collection.png","width":1280,"height":720,"caption":"How to Create a Best Seller Collection on Shopify"},{"@type":"BreadcrumbList","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.getmesa.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Create a Best Seller Collection on Shopify"}]},{"@type":"WebSite","@id":"https:\/\/www.getmesa.com\/blog\/#website","url":"https:\/\/www.getmesa.com\/blog\/","name":"MESA","description":"Discover how to automate your Shopify growth","publisher":{"@id":"https:\/\/www.getmesa.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.getmesa.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.getmesa.com\/blog\/#organization","name":"MESA - AI automation Platform","url":"https:\/\/www.getmesa.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/mesa-shoppad.jpeg","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/mesa-shoppad.jpeg","width":225,"height":225,"caption":"MESA - AI automation Platform"},"image":{"@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/web.facebook.com\/mesabyshoppad\/","https:\/\/x.com\/getmesa","https:\/\/www.linkedin.com\/company\/shoppad\/","https:\/\/www.youtube.com\/channel\/UCqsf_WhcGEsZMvms1idivyw"]},{"@type":"Person","@id":"https:\/\/www.getmesa.com\/blog\/#\/schema\/person\/5ed8ee9c6f19090c4d5acb4f45efacb4","name":"Ryan ODonnell","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/62bb965c979cc1de4c6f046fb47a28a57bc194da441ebe43b3dfbe2f2f893563?s=96&d=mm&r=g","caption":"Ryan ODonnell"},"sameAs":["https:\/\/www.getmesa.com"],"jobTitle":"Director of Marketing","worksFor":"MESA"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432876379","position":1,"url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432876379","name":"How often should I update my Best Seller Collection?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"It's recommended to update your Best Seller Collection regularly, such as daily or weekly, to ensure that it accurately reflects your current top-selling products.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432884838","position":2,"url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432884838","name":"Can I create multiple Best Seller Collections for different product categories?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Yes, you can create separate Best Seller Collections for different product categories to help customers easily find the most popular items within each category.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432895501","position":3,"url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432895501","name":"How can I automate the process of updating my Best Seller Collection?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"To simplify the process, you can use an automation tool like MESA to update your Best Seller Collection using real-time sales data.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432904832","position":4,"url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432904832","name":"What if I want to manually curate my Best Seller Collection?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"While automation is convenient, you can also manually curate your Best Seller Collection by selecting products based on your own criteria or marketing goals.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"Question","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432923610","position":5,"url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#faq-question-1745432923610","name":"Can I customize the appearance of my Best Seller Collection?","answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Yes, Shopify allows you to customize the appearance of your <a href=\"https:\/\/www.getmesa.com\/blog\/how-to-add-products-to-a-collection-in-shopify-using-and-or-logic\/\">shopify product collections<\/a>, including your Best Seller Collection, to match your store's branding and design.","inLanguage":"en-US"},"inLanguage":"en-US"},{"@type":"HowTo","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#howto-1","name":"How to Create a Best Seller Collection on Shopify","mainEntityOfPage":{"@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#article"},"description":"This workflow ranks products by sales volume and updates a \"Best Sellers\" collection daily so your most popular products are front and center.&lt;br>&lt;br>Prerequisites for this tutorial:&lt;br>&lt;br>1. Add this supporting workflow template: &lt;a href=\"https:\/\/app.getmesa.com\/discover\/store-shopify-orders-in-database\">Store Shopify Orders in a Database&lt;\/a> \u00a0and turn it \u201cOn\u201d&lt;br>2. Create a product metafield called &lt;strong>Best Sellers Index&lt;\/strong>.&lt;br>3. Create a smart collection called &lt;strong>Best Sellers&lt;\/strong> configured so that the &lt;strong>Best Sellers Index&lt;\/strong> product metafield value is &lt;strong>greater than zero&lt;\/strong>.","totalTime":"P0DT0H10M","step":[{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#how-to-step-1745431910340","name":"Schedule configuration","itemListElement":[{"@type":"HowToDirection","text":"Schedule the automation to run daily at midnight so sales data from the previous full day is captured."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#schema-image-edbe1ea6c8eb4bf6df551e05701e6fb6","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-142.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-142.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#how-to-step-1745432046942","name":"Variable setup","itemListElement":[{"@type":"HowToDirection","text":"Define and confirm your variables.Days Back: Select the time frame for sales data\u2014commonly 7, 14, or 30 days\u2014to identify products that are popular accurately.\u00a0Limit: Choose the number of products to include in your collection so your customers have a manageable experience.Collection ID: Enter your Shopify collection ID to target the correct collection to update.This is easily obtained by navigating to the Collection in your Shopify admin and grabbing it from the URL:https:\/\/admin.shopify.com\/store\/my-store-id\/collections\/collection-id-here"}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#schema-image-afffba89272988b40337ff8da1f160df","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-143.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-143.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#how-to-step-1745432112117","name":"Sales data analysis from the Data table","itemListElement":[{"@type":"HowToDirection","text":"To determine which products should appear in your Best Seller Collection, we\u2019ll query the Shopify order data\u2014stored and updated in the dependent Data table from the pre-requisite workflow template.Copy\/paste this custom query:SELECTROW_NUMBER() OVER (ORDER BY sum(\"Product Quantity\") DESC) AS \"Best Sellers Index\",\"Product ID\",\"Product Title\",sum(\"Product Quantity\") AS \"Quantity\"FROM \"Shopify Orders\"WHERE \"Order Created At\" > CURRENT_DATE - INTERVAL '{{transform[\"Days Back\"]}} days'GROUP BY \"Product ID\", \"Product Title\"ORDER BY \"Quantity\" DESCLIMIT {{transform[\"Limit\"]}}"}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#schema-image-aba420a32a986351820e7e93182589fb","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-144.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-144.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#how-to-step-1745432198369","name":"Retrieve collection products","itemListElement":[{"@type":"HowToDirection","text":"Get the products currently in your Best Sellers collection (up to 100)."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#schema-image-4e724aa85db9936212b9351f60fca3a3","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-145.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-145.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#how-to-step-1745432255472","name":"Reset rankings","itemListElement":[{"@type":"HowToDirection","text":"Loop through all products in the Best Sellers collection and set their \"best_sellers_index\" metafield to 0."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#schema-image-fab726f5c026b0c55fd99e65c157f582","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-146.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-146.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#how-to-step-1745432317335","name":"Update product rankings","itemListElement":[{"@type":"HowToDirection","text":"Apply the new rankings to your products based on fresh sales data.Product Data: Get product data for each item.Metafield Rank: Assign each item's updated \"best_sellers_index\" metafield value.Metafield Update: Save these updated ranking details to each product so they reflect current sales on your Shopify store."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#schema-image-ef090f5a0e697ce2766d2cf1b427ee36","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-147.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-147.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#how-to-step-1745432419480","name":"Reorder \u201cBest Seller\u201d collection","itemListElement":[{"@type":"HowToDirection","text":"Create a custom code step to use Shopify's GraphQL API to reorder your Best Sellers collection to match the new product rankings.Product Reorder: Reorder products in the collection based on their new \"best_sellers_index\".Display Order Sync: Sync the display order of products in the collection to match their new sales-based rankings, and customers can find your most popular items immediately.Copy\/paste this code snippet:const Mesa = require('vendor\/Mesa.js');const ShopifyGraphql = require('vendor\/ShopifyGraphql.js');\/**\u00a0* A MESA Script exports a class with a script() method.\u00a0*\/module.exports = new class {\u00a0\u00a0\/**\u00a0\u00a0\u00a0* MESA Script\u00a0\u00a0\u00a0*\u00a0\u00a0\u00a0* @param {object} prevResponse The response from the previous step\u00a0\u00a0\u00a0* @param {object} context Additional context about this task\u00a0\u00a0\u00a0*\/\u00a0\u00a0script = (prevResponse, context) => {\u00a0\u00a0\u00a0\u00a0\/\/ Retrieve the Variables Available to this step\u00a0\u00a0\u00a0\u00a0const vars = context.steps;\u00a0\u00a0\u00a0\u00a0\/\/ https:\/\/shopify.dev\/docs\/api\/admin-graphql\/2024-10\/mutations\/collectionReorderProducts\u00a0\u00a0\u00a0\u00a0let query = `\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0mutation collectionReorderProducts($id: ID!, $moves: [MoveInput!]!) {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0collectionReorderProducts(id: $id, moves: $moves) {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0job {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0id\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0userErrors {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0field\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0message\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0`;\u00a0\u00a0\u00a0\u00a0\/\/ Send Shopify GraphQL request\u00a0\u00a0\u00a0\u00a0const response = ShopifyGraphql.send(query, {\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"id\": \"gid:\/\/shopify\/Collection\/\" + vars[\"transform\"][\"Collection ID\"],\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"moves\": [\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0{\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"id\":\"gid:\/\/shopify\/Product\/\" + vars.shopify_2.id,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\"newPosition\": vars[\"loop_2\"][\"Best Sellers Index\"].toString(),\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0]\u00a0\u00a0\u00a0\u00a0});\u00a0\u00a0\u00a0\u00a0\/\/ Call the next step in this workflow\u00a0\u00a0\u00a0\u00a0Mesa.output.next({\"response\": response.data});\u00a0\u00a0}}"}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#schema-image-1269f92a8bf90e17422f7ae75562d8f6","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-148.png","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/image-148.png"}},{"@type":"HowToStep","url":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#how-to-step-1745432586157","name":"Turn \"On\" this workflow","itemListElement":[{"@type":"HowToDirection","text":"Run this workflow once for testing. Then, turn \u201cOn\u201d this workflow to have it run automatically."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.getmesa.com\/blog\/how-to-create-best-seller-collection-shopify\/#schema-image-d3954f62ee9fe33a8621d274c8c60803","url":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/Untitled-design.jpg","contentUrl":"https:\/\/www.getmesa.com\/blog\/wp-content\/uploads\/Untitled-design.jpg"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/13881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/comments?post=13881"}],"version-history":[{"count":15,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/13881\/revisions"}],"predecessor-version":[{"id":17313,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/posts\/13881\/revisions\/17313"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media\/13895"}],"wp:attachment":[{"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/media?parent=13881"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/categories?post=13881"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.getmesa.com/blog\/wp-json\/wp\/v2\/tags?post=13881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}