{% for product in products %}
<tr>
  <td class="text-left">{% if product.thumb %} <a href="{{ product.href }}"><img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-thumbnail" /></a> {% endif %}</td>
  <td class="text-left cart-name">
    {% if not product.stock %}
      <span class="label label-danger">{{ text_no_stock }}</span>
    {% endif %}
    <a href="{{ product.href }}" class="name">{{ product.name }}</a>
    {% if product.option %}
      {% for option in product.option %} <br />
      <small>{{ option.name }}: {{ option.value }}</small>
      {% endfor %}
    {% endif %}
    {% if product.reward %} <br />
    <small>{{ product.reward }}</small>
    {% endif %}
  </td>
  <td class="text-left cart-price">{{ product.price }}</td>
  <td class="text-left">{{ product.model }}</td>
  {% if helper.config('config_cart_weight') %}
  <td class="text-left">{{ product.weight }}</td>
  {% endif %}
  <td class="text-left">
    <div class="input-group quantity-wrapper">
      <span class="input-group-btn quantity-down">
        <button class="btn btn-default" type="button">-</button>
      </span>
      <input type="text" name="quantity[{{ product.cart_id }}]" value="{{ product.quantity }}" size="1" class="form-control cart-quantity" onkeyup="this.value=this.value.replace(/\D/g,'');" onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
      <span class="input-group-btn quantity-up">
        <button class="btn btn-default" type="button">+</button>
      </span>
    </div>
  </td>
  <td class="text-left cart-total">{{ product.total }}</td>
  <td class="text-right">
    <button type="button" class="btn btn-link cart-remove" onclick="cart_remove({{ product.cart_id }});">{{ button_remove }}</button>
  </td>
</tr>
{% endfor %}
{% for voucher in vouchers %}
<tr>
  <td></td>
  <td></td>
  <td class="text-left">{{ voucher.description }}</td>
  <td class="text-left"></td>
  <td class="text-left">
    <input readonly="readonly" type="text" name="quantity[{{ voucher.cart_id }}]" style="width: 100px;" value="1" size="1" class="form-control cart-quantity" />
  </td>
  <td class="text-right">{{ voucher.amount }}</td>
  <td class="text-right">{{ voucher.amount }}</td>
  <td>
    <button type="button" data-toggle="tooltip" title="{{ button_remove }}" class="btn btn-link delete" onclick="voucher.remove('{{ voucher.key }}');">{{ button_remove }}</button>
  </td>
</tr>
{% endfor %}
{% for recharge in recharges %}
<tr>
  <td></td>
  <td></td>
  <td class="text-left">{{ recharge.description }}</td>
  <td class="text-left"></td>
  <td class="text-left">
    <div class="input-group quantity-wrapper">
      <span class="input-group-btn quantity-down">
        <button class="btn btn-default" type="button">-</button>
      </span>
      <input type="text" name="quantity[{{ product.cart_id }}]" value="1" size="1" class="form-control cart-quantity" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
      <span class="input-group-btn quantity-up">
        <button class="btn btn-default" type="button">+</button>
      </span>
    </div>
  </td>
  <td class="text-right">{{ recharge.amount }}</td>
  <td class="text-right">{{ recharge.amount }}</td>
  <td>
    <button type="button" data-toggle="tooltip" title="{{ button_remove }}" class="btn btn-link delete" onclick="cart.remove('{{ recharge.key }}');">{{ button_remove }}</button>
  </td>
</tr>
{% endfor %}
