Loft + Flair Shopify theme guide

By: Trailblaze Media
We've put together this guide for setting up Flair in the Loft Shopify theme by Trailblaze Media. 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 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/grid-rework.liquid:

<div data-flair-product-badge data-product-id={{ product.id }}></div>
<p class="h2 product-title">

And add line 1.

On mobile collection pages

Edit snippets/product-price-mobile.liquid:

<div data-flair-product-badge data-product-id={{ product.id }}></div>
<p class="h2 product-title">

And add line 1.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources