Icon + Flair Shopify theme guide

By: We are Underground
We've put together this guide for setting up Flair in the Icon Shopify theme by We are Underground. 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/main-product.liquid:

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

And add line 4.

On collection pages

Edit snippets/product-listing.liquid:

<a href="{{ product.url | within: collection }}" class="js-product-details-link">
{% if settings.vendor %}
<p class="h4">{{ product.vendor }}</p>
{% endif %}
<h3>{{ product.title }}</h3>
</a>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 7.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources