Debut by Shopify

Here are the instructions to install Flair on the Debut theme made by Shopify.

How to edit your theme

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

Install Flair product badges

On product pages

Edit sections/product-template.liquid:

<h1 class="product-single__title">{{ product.title }}</h1>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 2.

On collection pages

Edit snippets/product-card-grid.liquid:

<div class="h4 grid-view-item__title product-card__title" aria-hidden="true">{{ product.title }}</div>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 2.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources