Simple + Flair Shopify theme guide

By: Shopify
We've put together this guide for setting up Flair in the Simple Shopify theme by Shopify. 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-template.liquid:

<h1 class="product-single__title" itemprop="name">{{ product.title }}</h1>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 2.

On collection pages

Edit snippets/product-grid-item.liquid:

<div class="product__title product__title--card text-center">
<a href="{{ product.url }}">{{ product.title }}</a>
</div>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 4.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources