Add Flair to Retina Shopify themes

By: Out of the Sandbox
This guide includes instructions for setting up Flair badges and Flair banners in the Retina Shopify theme made by Out of the Sandbox.

How to edit your theme

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

Add Flair badges

On collection pages

  • Open snippets/product-thumbnail.liquid.

  • Find the line containing:

    if settings.display_vendor_collection
  • And add this before 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.liquid.

  • Find the line containing:

    class="product__title"
  • And add this before 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