Canopy by Clean Canvas

Here are the instructions to install Flair on the Canopy theme made by Clean Canvas.

How to edit your theme

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

Install Flair product badges

On product pages

Edit sections/main-product.liquid:

<{{ heading_tag }} class="product-title product-detail__gap-sm" {{ block.shopify_attributes }}>
{{ product.title }}
</{{ heading_tag }}>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 4.

On collection pages

Edit snippets/product-block.liquid:

<a class="title" href="{{ url }}">
{% if show_vendor %}
<div class="vendor">{{ product.vendor }}</div>
{% endif %}
{{ product.title }}
</a>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 7.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources