Add Flair to Focal Shopify themes

By: Maestrooo
This guide includes instructions for setting up Flair badges and Flair banners in the Focal Shopify theme made by Maestrooo.

How to edit your theme

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

Add Flair badges

On collection pages

  • Open snippets/product-item.liquid.

  • Find the line containing:

    class="product-item-meta__title"
  • And add this after it:

    Flair Gen 3
    <flair-badges product-id="{{ product.id }}"></flair-badges>
    Flair Gen 2
    <div data-flair-product-badge data-product-id="{{ product.id }}"></div>
  • Click Save.

On product pages

  • Open snippets/product-info.liquid.

  • Find the line containing:

    </h1>
  • And add this after it:

    Flair Gen 3
    <flair-badges product-id="{{ product.id }}"></flair-badges>
    Flair Gen 2
    <div data-flair-product-badge data-product-id="{{ product.id }}"></div>
  • Click Save.

Resources