modules/XC/CrispWhiteSkin/templates/web/customer/product/quantity/body.twig line 1

Open in your IDE?
  1. {##
  2.  # Product quantity widget (for customer area)
  3.  #}
  4. {% apply spaceless %}
  5.   <span class="{{ this.getCSSClass() }} {{ this.getFingerprint() }}">
  6.     {% if not this.isAllStockInCart() and this.isProductAvailableForSale() %}
  7.       <label for="amount{{ this.getProduct().getProductId() }}" class="visually-hidden">{{ t('Qty') }}:</label>
  8.       {{ widget('XLite\\View\\Product\\QuantityBox',
  9.         fieldValue=this.getQuantity(),
  10.         product=this.getProduct(),
  11.         maxValue=this.getMaxQuantity()
  12.       )}}
  13.     {% endif %}
  14.   </span>
  15. {% endapply %}