Fashionopolism by We are Underground

Here are the instructions to install Flair on the Fashionopolism theme made by We are Underground.

How to edit your theme

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

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources