Empire by Pixel Union

Here are the instructions to install Flair on the Empire theme made by Pixel Union.

How to edit your theme

  • Visit Shopify Admin > Themes and click Actions > Edit code.

Install Flair product badges

On product pages

Edit snippets/product.liquid:

{% if template == 'index' %}
</h2>
{% else %}
</h1>
{% endif %}
{% endif %}
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 7.

On collection pages

Edit snippets/product-grid-item.liquid:

<h2 class="productitem--title">
<a href="{{ product_link }}" data-product-page-link>
{{ product_title }}
</a>
</h2>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 6.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources