Yanka by p-themes

Here are the instructions to install Flair on the Yanka theme made by p-themes.

How to edit your theme

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

Install Flair product badges

On product pages

Edit snippets/product_page_1_description.liquid:

<h1 class="pt-title" 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-design-1.liquid OR snippets/product-grid-item-design-2.liquid:

<h2 class="pt-title prod-thumb-title-color"><a href="{{ product.url | within: collection }}">{{ product.title }}</a></h2>
<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