{##
# Product quantity widget (for customer area)
#}
{% apply spaceless %}
<span class="{{ this.getCSSClass() }} {{ this.getFingerprint() }}">
{% if not this.isAllStockInCart() and this.isProductAvailableForSale() %}
<label for="amount{{ this.getProduct().getProductId() }}" class="visually-hidden">{{ t('Qty') }}:</label>
{{ widget('XLite\\View\\Product\\QuantityBox',
fieldValue=this.getQuantity(),
product=this.getProduct(),
maxValue=this.getMaxQuantity()
)}}
{% endif %}
</span>
{% endapply %}