Narrative + Flair Shopify theme guide

By: Shopify
We've put together this guide for setting up Flair in the Narrative 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">{{ product.title }}</h1>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 2.

On collection pages

Edit snippets/product-card.liquid:

<h3 class="card__name h4">{{ product.title }}</h3>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 2.

Install Flair banners

Edit layout/header.liquid:

<div data-flair-banner></div>
<header class="site-header__wrapper" role="banner">

And add line 1.

Additional Resources