Sha256: 2c633823c30d0e193b657ff58476c34814fe185d6c6cbbf8e9e8556dfe3a1e83
Contents?: true
Size: 1.42 KB
Versions: 54
Compression:
Stored size: 1.42 KB
Contents
<div> <h1>{{ page.name }}</h1> {% paginate products from products.current by 20 %} {% if products != blank %} <ul> {% for product in products %} <li id="product_{{ product.id }}"> <a href="{{ product.url }}"> <img alt="Image of {{ product.name | escape }}" src="{{ product.image | product_image_url size: theme.product_list_size }}" /> <div class="product_info"> <div> <p> <span>{{ product.name }}</span> <span class="{% if product.on_sale %}sale{% else %}price{% endif %} {{ product.status }}">{{ product.default_price | money_with_sign }}{% case product.status %}{% when 'sold-out' %} / Sold Out{% when 'coming-soon' %} / Coming Soon{% when 'active' %}{% if product.on_sale %} / On Sale{% endif %}{% endcase %}</span> </p> </div> </div> </a> </li> {% endfor %} </ul> <div class="pagination" id="pagination"> {% if paginate.previous %} {% if paginate.previous.is_link %} <a href="{{ paginate.previous.url }}" id="previous" class="circle">←<em>Previous</em></a> {% endif %} {% endif %} {% if paginate.next %} {% if paginate.next.is_link %} <a href="{{ paginate.next.url }}" id="next" class="circle">→<em>Next</em></a> {% endif %} {% endif %} </div> {% else %} <p class="alert-noproducts"><span>No products found.</span></p> {% endif %} {% endpaginate %} </div>
Version data entries
54 entries across 54 versions & 1 rubygems