Sha256: c5f8fd33bc2a845017bb0c08f094e0b785b2fc7f8ed1cfff2489f42225f50ad8

Contents?: true

Size: 650 Bytes

Versions: 7

Compression:

Stored size: 650 Bytes

Contents

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

{% if products != blank %}
<ul>
  {% 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

7 entries across 7 versions & 1 rubygems

Version Path
dugway-0.5.7 lib/dugway/cli/templates/source/products.html
dugway-0.5.6 lib/dugway/cli/templates/source/products.html
dugway-0.5.4 lib/dugway/cli/templates/source/products.html
dugway-0.5.3 lib/dugway/cli/templates/source/products.html
dugway-0.5.2 lib/dugway/cli/templates/source/products.html
dugway-0.5.1 lib/dugway/cli/templates/source/products.html
dugway-0.5.0 lib/dugway/cli/templates/source/products.html