"You saved $5 with discount: 50SHIRTSFREE"
"You saved 25% with discount: 50SHIRTSFREE"
{% if discounts %}
{% assign discount = discounts_amount | times: 1.00 %}
{% assign price = subtotal_price | times: 1.00 %}
{% comment %} | |
Let's extract an image from article.excerpt_or_content. | |
We will replace the image suffix with _1024x1024. | |
The image will point to the article page. | |
{% endcomment %} | |
{% assign article_has_image = false %} | |
{% assign content = article.excerpt_or_content %} | |
{% assign img_tag = '<' | append: 'img' %} |
{% comment %} | |
In http://www.shopify.com/admin/themes/current?key=assets/shop.js.liquid&line=48, add two slashes on line 48 so it looks like the one below: | |
{% endcomment %} | |
// standard.responsiveNav(); |
{%comment%} | |
Add the following line just after the <div class="gallery__inner"> at the beginning | |
{% endcomment %} | |
<a href="#start" class='icon__arrow-back' ></a> | |
{%comment%} | |
Add the id "start" to the two different collection cover options | |
http://snapify.shopify.com/30-22-kbbgx-elrmf.jpg | |
{% endcomment %} |
{% if product.available %} | |
{% if product.variants.size > 1 %} | |
<a href="{{ product.url | within: collection }}" class="btn" title="{{ product.title | escape }}">Select Options</a> | |
{% else %} | |
<form action="/cart/add" method="post"> | |
<input type="hidden" name="id" value="{{ product.variants.first.id }}" /> | |
<input type="submit" class="btn" value="Add to Cart" /> | |
</form> | |
{% endif %} | |
{% else %} |
{% comment %} | |
Create this snippet! | |
A recursive loop to catch and filter out the different tag categories. | |
This is mainly for advanced tagging, but will also help us strip | |
out any tag categories from our tags (E.g. remove BRAND_ from BRAND_tag) | |
{% endcomment %} | |
{% if template contains 'collection' and collection.all_tags.size > 0 %} | |
{% assign c = 0 %} | |
{% for t in collection.all_tags %} |