Canopy + Flair Shopify theme guide

By: Clean Canvas
We've put together this guide for setting up Flair in the Canopy Shopify theme by Clean Canvas. This page includes instructions for setting up Flair badges (aka labels or stickers) and Flair banners.

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={{ }}></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 }}
<div data-flair-product-badge data-product-id={{ }}></div>

And add line 7.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources