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">&larr;<em>Previous</em></a>
    {% endif %}
  {% endif %}
  
  {% if paginate.next %}
    {% if paginate.next.is_link %}
    <a href="{{ paginate.next.url }}" id="next" class="circle">&rarr;<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

Version Path
dugway-0.11.2 spec/fixtures/theme/products.html
dugway-0.11.1 spec/fixtures/theme/products.html
dugway-0.11.0 spec/fixtures/theme/products.html
dugway-0.10.5 spec/fixtures/theme/products.html
dugway-0.10.4 spec/fixtures/theme/products.html
dugway-0.10.3 spec/fixtures/theme/products.html
dugway-0.10.2 spec/fixtures/theme/products.html
dugway-0.10.1 spec/fixtures/theme/products.html
dugway-0.10.0 spec/fixtures/theme/products.html
dugway-0.9.0 spec/fixtures/theme/products.html
dugway-0.8.4 spec/fixtures/theme/products.html
dugway-0.8.3 spec/fixtures/theme/products.html
dugway-0.8.2 spec/fixtures/theme/products.html
dugway-0.8.1 spec/fixtures/theme/products.html
dugway-0.8.0 spec/fixtures/theme/products.html
dugway-0.7.1 spec/fixtures/theme/products.html
dugway-0.7.0 spec/fixtures/theme/products.html
dugway-0.6.7 spec/fixtures/theme/products.html
dugway-0.6.6 spec/fixtures/theme/products.html
dugway-0.6.5 spec/fixtures/theme/products.html