Sha256: 912ab2847fdab33b4ff755a130feb53195b16bb89c0db9a34afd7208b1a109a7

Contents?: true

Size: 666 Bytes

Versions: 47

Compression:

Stored size: 666 Bytes

Contents

{% paginate products from products.current by theme.products_per_page %}

{% if products != blank %}
<ul class="unstyled">
  {% for product in products %}
  <li class="{{ product.css_class }}">
    <a href="{{ product.url }}">
      <img alt="Image of {{ product.name | escape }}" src="{{ product.image | product_image_url size: theme.product_image_size }}">
      <b>{{ product.name }}</b>
      <p>{{ product.default_price | money_with_sign }}</p>
      {% if product.on_sale %}
      <em>On Sale</em>
      {% endif %}
    </a>
  </li>
  {% endfor %}
</ul>

{{ paginate | default_pagination }}

{% else %}
<p>No products found.</p>
{% endif %}

{% endpaginate %}

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
dugway-0.6.4 lib/dugway/cli/templates/source/products.html
dugway-0.6.3 lib/dugway/cli/templates/source/products.html
dugway-0.6.2 lib/dugway/cli/templates/source/products.html
dugway-0.6.1 lib/dugway/cli/templates/source/products.html
dugway-0.6.0 lib/dugway/cli/templates/source/products.html
dugway-0.5.9 lib/dugway/cli/templates/source/products.html
dugway-0.5.8 lib/dugway/cli/templates/source/products.html