Focal + Flair Shopify theme guide

By: Maestrooo
We've put together this guide for setting up Flair in the Focal Shopify theme by Maestrooo. 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 snippets/product-info.liquid:

{% unless featured %}
<h1 class="product-meta__title heading h3">{{ product.title }}</h1>
{% else %}
<h2 class="product-meta__title heading h3">
<a href="{{ product.url }}">{{ product.title }}</a>
</h2>
{% endunless %}
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 8.

On collection pages

Edit snippets/product-item.liquid:

<a href="{{ product.url }}" class="product-item-meta__title">{{ product.title }}</a>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 2.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources