Retina by Out of the Sandbox

Here are the instructions to install Flair on the Retina theme made by Out of the Sandbox.

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:

{% else %}
{% if template == 'featured-product' %}<a href="{{ product.url }}">{% endif %}
{{ product.title | escape }}
{% if template == 'featured-product' %}</a>{% endif %}
{% endif %}
</{{heading_element}}>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 7.

On collection pages

Edit snippets/product-thumbnail.liquid:

<div class="product-thumbnail__header">
<a href="{{ product.url | within: collection }}" class="product-thumbnail__title">
{{ product.title | escape }}
</a>

{% if settings.collection_price_position == 'right' %}
{{ product_card_price }}
{% endif %}
</div>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 10.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources