Mr Parker + Flair Shopify theme guide

By: We are Underground
We've put together this guide for setting up Flair in the Mr Parker Shopify theme by We are Underground. This page includes instructions for setting up Flair badges (aka labels or stickers) and Flair banners.
Heads up! This guide is for Flair Gen 2. For assistance with Flair Gen 3 (now in early access), please contact support.

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 4.

On collection pages

Edit snippets/product-listing.liquid:

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

And add line 3.

On search pages

Edit sections/main-search.liquid:

<a href="{{ item.url }}">
<p>{{ item.title | escape }}</p>
</a>
<div data-flair-product-badge data-product-id={{ item.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

  • Flair badge layout guide - additional badge options including: multi-promotions, multiple badges, spacing and alignment, variant badges, and more
  • Flair banner layout guide - additional banner options including: multi-promotions, spacing, and more