Refresh + Flair Shopify theme guide

By: Shopify
We've put together this guide for setting up Flair in the Refresh Shopify theme by Shopify. 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:

{%- when 'title' -%}
<h1 class="product__title">
{{ product.title | escape }}
<div data-flair-product-badge data-product-id={{ }}></div>

And add line 5.

On collection pages

Edit snippets/card-product.liquid:

{{ card_product.title | escape }}
<div data-flair-product-badge data-product-id={{ }}></div>
<div class="card-information">
{%- if show_vendor -%}

And add line 4.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources