custom/plugins/zenitPlatformStratus/src/Resources/views/storefront/component/buy-widget/zen-buy-widget-quantity.html.twig line 1

Open in your IDE?
  1. {% block zen_buy_widget_quantity %}
  2.     <div class="input-group buy-widget-quantity-input-group" data-buy-widget-quantity="true">
  3.         {% block zen_buy_widget_quantity_btn_minus %}
  4.             <span class="input-group-btn">
  5.                 <button class="btn btn-minus js-buy-widget-quantity-btn-minus" type="button">
  6.                     {% block zen_buy_widget_quantity_btn_minus_icon %}
  7.                         {% sw_icon 'minus' %}
  8.                     {% endblock %}
  9.                 </button>
  10.             </span>
  11.         {% endblock %}
  12.         {% block zen_buy_widget_quantity_input %}
  13.             {# <label for="lineItems[{{ product.id }}][quantity]">#}
  14.             <input type="number"
  15.                    class="form-control custom-number buy-widget-quantity-input {{ quantityClasses }}  js-buy-widget-quantity-input"
  16.                    value="{% if value %}{{ value }}{% else %}{{ minPurchase }}{% endif %}"
  17.                    min="{{ minPurchase }}"
  18.                    max="{{ maxPurchase }}"
  19.                    step="{{ step }}"
  20.                    name="{{ name }}"
  21.                    data-product-id="{{ id }}"
  22.                    {% if autoChange %}data-auto-change="{{ autoChange }}"{% endif %}>
  23.         {% endblock %}
  24.         {% block zen_buy_widget_quantity_btn_plus %}
  25.             <span class="input-group-btn">
  26.                 <button class="btn btn-plus js-buy-widget-quantity-btn-plus" type="button">
  27.                     {% block zen_buy_widget_quantity_btn_plus_icon %}
  28.                         {% sw_icon 'plus' %}
  29.                     {% endblock %}
  30.                 </button>
  31.             </span>
  32.         {% endblock %}
  33.     </div>
  34. {% endblock %}