District by Style Hatch, Inc

Here are the instructions to install Flair on the District theme made by Style Hatch, Inc.

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:

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

And add line 4.

On collection pages

Edit snippets/product-card.liquid:

<div class="product-card__title group-hover:text-primary-accent">
{{ product.title }}
</div>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 4.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources