Hi I am working on the Shopify Debut theme. I want to add quantity selector as a drop-down in cart page.
But iam not able to do so. I have added the drop down on my product page with the help of this code
<input id="quantity" type="number" name="quantity" value="1" class="tc item-quantity" />
<select name="quantity" id="quantity">
{% for i in (1..4) %}
<option value="{{ i }}">{{ i }}</option>
{% endfor %}
</select>
This is working fine, but i am not able to do so on my cart template. Here is the code for my cart template as well
<div class="cart__qty">
<label for="updates_large_{{ item.key }}" class="cart__qty-label" data-quantity-label-desktop>{{ 'cart.label.quantity' | t }}</label>
<input id="updates_large_{{ item.key }}" class="cart__qty-input" type="number"
name="updates[]" value="{{ item.quantity }}" min="0" pattern="[0-9]*"
data-quantity-input data-quantity-item="{{ forloop.index }}" data-quantity-input-desktop>
</div>
Please guide how can i make this work for cart page as well