Icon by We are Underground

Here are the instructions to install Flair on the Icon theme made by We are Underground.

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:

<div class="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 }}">
{% if settings.vendor %}
<h4>{{ product.vendor }}</h4>
{% endif %}
<h3>{{ product.title }}</h3>
</a>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 7.

On search pages

Edit templates/search.liquid:

<a href="{{ item.url }}">
{% if item.object_type == 'product' %}
{% if settings.vendor %}
<h4>{{ item.vendor }}</h4>
{% endif %}
{% endif %}
<h3>{{ item.title }}</h3>
</a>
<div data-flair-product-badge data-product-id={{ item.id }}></div>

And add line 9.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources