Blockshop + Flair Shopify theme guide

By: Troop Themes
We've put together this guide for setting up Flair in the Blockshop Shopify theme by Troop Themes. This page includes instructions for setting up Flair badges (aka labels or stickers) and Flair banners.

How to edit your theme

  • Visit Shopify Admin > Themes and click Actions > Edit code.

Install Flair product badges

On product pages

Edit sections/product.liquid:

{%- when 'heading' -%}
<h2 class="product-page--heading" data-item="section-heading">
{{ product.title }}
</h2>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 5.

On collection pages

Edit snippets/product--item.liquid:

echo '<p class="product--title" data-item="paragraph">'
echo title
echo '</p>'
render 'flair-product-badges', product: product

And add line 4.

Install Flair banners

Edit layout/theme.liquid:

<body>
<div data-flair-banner></div>

And add line 2.

Additional Resources