Installing the Best Sellers snippets in your Shopify theme

Looking for instructions for how to install a Best Sellers snippet in your Shopify theme?

Well you've come to the right place.

Below you'll find instructions for installing both the Top Rank Badge and Top Rank List for the Best Sellers Shopify app.

Before you get started...

Make sure you've configured your settings for the Top Rank Badge or Top Rank List and saved them before you begin.

This will create the snippet in your currently published Shopify theme.

The Top Rank Badge snippet will be stored in your theme at snippets/bsi-top-rank-badge.liquid

The Top Rank List snippet will be stored in your theme at snippets/bsi-top-rank-list.liquid

How to open your theme in the Shopify Theme Editor

From your Shopify admin, go to Online Store > Themes.

Find the theme you want to edit and click Actions, then click Edit code.

Installing the Top Rank Badge snippet

The Top Rank Badge snippet can be placed anywhere you see a product in your Shopify store. This typically includes your product and collection pages.

To add the Top Rank Badge snippet to your theme, you just need to add an include line where you'd like the badge to show similar to this one:

  {% include 'bsi-top-rank-badge' %}

Installing the Top Rank List snippet

The Top Rank List snippet works best on the product page of your Shopify store.

To add the Top Rank List snippet to your theme, you just need to add an include line where you'd like the badge to show similar to this one:

  {% include 'bsi-top-rank-list' %}

Finding the right place to include the snippet

If you need help finding the right place to make the changes to your theme, I've written instructions for many popular Shopify themes for my other app at Flair product badge snippet install guide.

The instructions for Best Sellers are very similar. You'll just need to use the above include bsi-top-rank-badge or bsi-top-rank-list statements in place of the include flair-product-badges line.

Need more help?

If you need help with installing these snippets I would be happy to help you for free at any time.

Feel free to contact Tom via the Contact Us link at the bottom of this page if you run into any issues.

Still need help? Contact Us Contact Us