Last active
March 3, 2016 06:01
-
-
Save andrewlaskey/9f0dce098ad092df8ccd to your computer and use it in GitHub Desktop.
Shopify Product List
This file contains 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
<ul class="product-grid"> | |
{% for product in collections.frontpage.products %} | |
<li class="product"> | |
<a class="product-image" href="{{ product.url }}" title="{{ product.title }}"> | |
<img src="{{ product.featured_image | product_img_url: "medium" }}" alt="{{ product.title }}" /> | |
</a> | |
<div class="product-content"> | |
<span class="product-price">{{ product.price | money }}</span> | |
<a class="product-title" href="{{ product.url }}" title="{{ product.title }}">{{ product.title }}</a> | |
<p> | |
{% for tag in product.tags %} | |
{{ tag | link_to_tag: tag }} | |
{% endfor %} | |
</p> | |
</div> | |
</li> | |
{% endfor %} | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment