Fashionopolism + Flair theme guide for Shopify

By: We are Underground
This guide includes instructions for setting up Flair badges and Flair banners in the Fashionopolism theme by We are Underground.

How to edit your theme

  • Visit Shopify Admin > Themes and click ... > 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-listing.liquid:

<a href="{{ product.url | within: collection }}">
{% if settings.vendor %}<p>{{ product.vendor }}</p>{% endif %}
<h3>{{ product.title }}</h3>
</a>
<div data-flair-product-badge data-product-id={{ product.id }}></div>

And add line 5.

On search pages

Edit sections/search-template.liquid:

<a href="{{ item.url }}">
{% if item.object_type == 'product' %} {% if settings.vendor %}<h4>{{ item.vendor }}</h4>{% endif %} {% endif %}
<h3>{{ item.title }}</h3>
</a>
<div data-flair-product-badge data-product-id={{ item.id }}></div>

And add line 5.

Flair banners

  • Open layout/theme.liquid.

  • Find the line containing:

    <body>

    And add this after it:

    Flair Gen 3
    <flair-banners></flair-banners>
    Flair Gen 2
    <div data-flair-banner></div>
  • Click Save.

Additional Resources

  • Flair badge layout guide - additional badge options including: multi-promotions, multiple badges, spacing and alignment, variant badges, and more
  • Flair banner layout guide - additional banner options including: multi-promotions, spacing, and more