Created
March 14, 2018 18:19
-
-
Save atomgiant/c1bbe1d690bc38195be4766b1671db56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------ | |
For products | |
------------------ | |
1. Edit sections/product-template.liquid | |
2. Search for a line similar to: | |
<h1 itemprop="name">{{ product.title }} </h1> | |
3. Add the Flair include after it like this: | |
<h1 itemprop="name">{{ product.title }} </h1> | |
{% include 'flair-product-badges' %} | |
------------------ | |
For collections | |
------------------ | |
1. Edit snippets/grid-rework.liquid | |
2. Search for a line similar to: | |
<p class="h2 product-title"> | |
3. Insert Flair before it like this: | |
{% include 'flair-product-badges' %} | |
<p class="h2 product-title"> | |
------------------ | |
For the mobile collection view | |
------------------ | |
1. Edit snippets/product-price-mobile.liquid | |
2. Search for a line similar to: | |
<p class="h2 product-title"> | |
3. And add Flair like so: | |
{% include 'flair-product-badges' %} | |
<p class="h2 product-title"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment