Editions by Pixel Union

Here are the instructions to install Flair on the Editions 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-contents.liquid:

<{{ heading_element }} class="product__heading {{ first_block_class }}" {{ block.shopify_attributes }}>
{% if is_quickshop %}<a href="{{ product.url | within: collection }}">{% endif %}
{% if onboarding %}
{{ 'product.onboarding.title' | t }}
{% else %}
{{ product.title }}
{% endif %}
{% if is_quickshop %}</a>{% endif %}
</{{ heading_element }}>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 10.

On collection pages

Edit snippets/small-product-item.liquid:

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