Minimal by Shopify

Here are the instructions to install Flair on the Minimal 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 itemprop="name">{{ product.title }}</h1>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 2.

On collection pages

Edit snippets/product-grid-item.liquid:

<p class="grid-link__title">{{ product_title }}</p>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 2.

On search pages

Edit snippets/search-result.liquid:

<h2 class="h3">{{ item.title | link_to: item.url }}</h2>
<div data-flair-product-badge data-product-id={{ item.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