Canopy + Flair theme guide for Shopify

By: Clean Canvas
This guide includes instructions for setting up Flair badges and Flair banners in the Canopy theme by Clean Canvas.

How to edit your theme

  • Visit Shopify Admin > Themes and click ... > 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.

Flair banners

  • Open layout/theme.liquid.

  • Find the line containing:

    <body>

    And add this after it:

    Flair Gen 3
    <flair-banners></flair-banners>
    Flair Gen 2
    <div data-flair-banner></div>
  • Click Save.

Additional Resources

  • Flair badge layout guide - additional badge options including: multi-promotions, multiple badges, spacing and alignment, variant badges, and more
  • Flair banner layout guide - additional banner options including: multi-promotions, spacing, and more