Motion + Flair Shopify theme guide

By: Archetype Themes
We've put together this guide for setting up Flair in the Motion Shopify theme by Archetype Themes. This page includes instructions for setting up Flair badges (aka labels or stickers) and Flair banners.

How to edit your theme

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

Install Flair product badges

On product pages

Edit snippets/product-template.liquid:

{%- else -%}
<h1 class="h2 product-single__title">
{%- unless product.empty? -%}
{{ product.title }}
{%- else -%}
{{ 'home_page.onboarding.product_title' | t }}
{%- endunless -%}
</h1>
{%- endif -%}
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 10.

On collection pages

Edit snippets/product-grid-item.liquid:

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

And add line 1.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources