Grid + Flair Shopify theme guide

By: Pixel Union
We've put together this guide for setting up Flair in the Grid Shopify theme by Pixel Union. 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-form-content.liquid:

{{ 'products.product.onboarding.title' | t }}
{% endif %}
</h1>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 4.

On collection pages

Edit snippets/product-list-item.liquid:

<h2 class="product-list-item-title"><a href="{{ item.url | within: collection }}">{{ item.title }}</a></h2>
<div data-flair-product-badge data-product-id={{ item.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