Startup by Pixel Union

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

{% else %}
{{ product.title }}
{% endif %}
</{{ heading_element }}>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 5.

On collection pages

Edit snippets/product-list-item.liquid:

<h1 class="product-list-item-title">
<a href="{% unless onboarding %}{{ product.url | within: collection }}{% endunless %}">
{% unless onboarding %}
{{ product.title | escape }}
{% else %}
{{ onboarding_title }}
{% endunless %}
</a>
</h1>
<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