Skip to content

Instantly share code, notes, and snippets.

@rdallaire
Last active October 11, 2015 19:28
Show Gist options
  • Save rdallaire/3907636 to your computer and use it in GitHub Desktop.
Save rdallaire/3907636 to your computer and use it in GitHub Desktop.
{% tagged_with '.devtest' do products limit:10 %}
{% if products.size > 0 %}
<!-- if products ARE tagged -->
{% for product in products %}
{% endfor %}
{% else %}
<!-- if NO products are tagged -->
{% endif %}
{% endtagged_with %}
<a href="{{ product.url }}"></a>
{{ product.url }}
{{ product.name }}
{{ product.main_photo | photo_url: "medium" }}
title="{{ product.name | strip_html }}"
{{ product.sell_price }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment