Create a top-selling items page in your Shopify store

This example shows how you can build a top sellers page for your Shopify store in Parabola without writing a single line of code. If you don't use Shopify, don't worry: Parabola is very flexible and can work with Webflow, Weebly, Squarespace, Wix, you name it – it works.

Create a top-selling items page in your Shopify store

Pulling Shopify orders into Parabola

Parabola's Pull from Shopify step makes it easy to pull in data from your store.

You'll want to drag out a new Pull from Shopify step and authenticate with your Shopify login.

Finding the best selling items

Next, we utilize a series of Parabola steps to trim the (hopefully long!) list of matching orders to only the top ten best sellers.

We count how many of each were sold, and Sort rows by the number sold – now the items are stack ranked by sales volume! Finally we use theInsert row numbers step combined with another Remove rows step to select only the top ten most sold items.

Creating and updating the page

For this next bit (the fun part), if you don't have a "Best Sellers" collection you'll want to go ahead and create it in Shopify and make a note of its id.

Back in Parabola we'll use another two Shopify Imports to fetch your Shopify collections, products, and names, and then use a row filter to grab the collection you just created.

Finally, we use a Find overlap step to leave all remaining best selling items in the collection, while then separating out the new products being added to the collection along with any products that have fallen out of the top sellers.

Syncing the updated collection to Shopify

Now we have a list of top selling product ids to add, a collection id that needs to be updated, and a relationship id that tells Shopify which products to remove. The new product ids and corresponding collection id as exported from Parabola to Shopify in the first Send to Shopify step, while the old relationship id tells Shopify which products to remove in the second Send to Shopify step.

That's it - we're done! If any of this was confusing or you have questions about extending this example to support a more specific use case, please drop us a line in our community!