shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

latest.twig (1917B)


      1 <h3>{{ heading_title }}</h3>
      2 <div class="row"> {% for product in products %}
      3   <div class="product-layout col-lg-3 col-md-3 col-sm-6 col-xs-12">
      4     <div class="product-thumb transition">
      5       <div class="image"><a href="{{ product.href }}"><img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-responsive" /></a></div>
      6       <div class="caption">
      7         <h4><a href="{{ product.href }}">{{ product.name }}</a></h4>
      8         <p>{{ product.description }}</p>
      9         {% if product.rating %}
     10         <div class="rating">{% for i in 1..5 %}
     11           {% if product.rating < i %} <span class="fa fa-stack"><i class="fa fa-star-o fa-stack-2x"></i></span> {% else %} <span class="fa fa-stack"><i class="fa fa-star fa-stack-2x"></i><i class="fa fa-star-o fa-stack-2x"></i></span> {% endif %}
     12           {% endfor %}</div>
     13         {% endif %}
     14         {% if product.price %}
     15         <p class="price"> {% if not product.special %}
     16           {{ product.price }}
     17           {% else %} <span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span> {% endif %}
     18           {% if product.tax %} <span class="price-tax">{{ text_tax }} {{ product.tax }}</span> {% endif %} </p>
     19         {% endif %} </div>
     20       <div class="button-group">
     21         <button type="button" onclick="cart.add('{{ product.product_id }}');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span></button>
     22         <button type="button" data-toggle="tooltip" title="{{ button_wishlist }}" onclick="wishlist.add('{{ product.product_id }}');"><i class="fa fa-heart"></i></button>
     23         <button type="button" data-toggle="tooltip" title="{{ button_compare }}" onclick="compare.add('{{ product.product_id }}');"><i class="fa fa-exchange"></i></button>
     24       </div>
     25     </div>
     26   </div>
     27   {% endfor %} </div>