{##
# Multiple Quantity
#
# @category X-Cart_5_Module
# @package MultipleQty
# @author CFL Systems, Inc. <support@cflsystems.com>
# @copyright 2023 CFL Systems, Inc. All rights reserved.
# @license License Agreement https://www.cflsystems.com/software-license-agreement.html
# @link https://www.cflsystems.com/
#
# @ListChild (list="product.quantity-box", weight="20")
#}
{% if this.isMultiple() %}
<select
id="{{ this.getBoxId() }}"
name="{{ this.getBoxName() }}"
title="{{ t(this.getBoxTitle()) }}"
class="{{ this.getClass() }}"
onclick="this.focus();"/>
>
{% for multiplier in 1..10 %}
{% set qty = multiplier * this.getProduct().getCsiMultiple() %}
<option value="{{ qty }}"{% if qty == this.getBoxValue() %} selected{% endif%}>{{ qty }}</option>
{% endfor %}
</select>
<span class="wheel-mark"> </span>
{% else %}
{% include 'product/quantity_box/parts/quantity_box.twig' %}
{% endif %}