Mr Parker by We are Underground

Here are the instructions to install Flair on the Mr Parker 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 4.

On collection pages

Edit snippets/product-listing.liquid:

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

And add line 7.

On search pages

Edit templates/search.liquid:

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

And add line 9.

Install Flair banners

Edit layout/theme.liquid:

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

And add line 2.

Additional Resources