How to add top sellers to the top of a category page

Hi All

We are in the process of setting up our shopify store but i need some help with the collection pages.

I want to insert some best selling products to the top of the collection, we currently have the collections set to show best sellers first so i want to avoid changing it to manual

Is there a way i can add a block in the collection section at the top and also have a best sellers tag on the product image.

Oh using the Prism theme if this helps

Thanks

1 Like

Hello @Mungo2007 ,

yes, you can do this without switching to Manual, even on Prism

  • Keep collection sorting = Best Selling
  • Add a Featured Products / Product List section at the top of the collection page
  • Manually choose your best sellers in that section
  • Add a “Best Seller” badge using a product tag (e.g. best-seller) or Prism’s built-in badge option

Thanks for the replies i will see if i can work it out

1 Like

You can set Sort by default to Best selling for your collection from your Products > Collections > Edit collection

Best regards,
Dan from Ryviu: Product Reviews App

Hi @Mungo2007,

Go to Edite theme > collectione page > add Custom liquid section and paste this code.

<div class="best-sellers-top-section">
  <h2 class="h2">Top selling products</h2>
  {% assign best_selling_products = collection.products | sort: 'best-selling' %}
  <div class="grid grid--4-col">
    {% for product in best_selling_products limit: 4 %}
      {% render 'card-product', card_product: product %}
    {% endfor %}
  </div>
</div>

Thanks!