Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
We need to change the quantity added or subtracted in the quantity box. Not to add one by one, but add a metafiled figure (box complete) quantities. I mean, when you add a unit, not add a unit but 8 units (for example).
(8-16-24, etc).
Could anyone help us with this?
Thank you in advanced
Hi @victor6am
I'm Dan from Ryviu: Product Reviews & QA app.
You can find the quantity code of your theme and change those values to do that.
- Found this helpful? Hit "Like" and "Accept as Solution"!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Thank you for your reply:
I only found this code (Symmetry Theme)
<div class="quantity buttoned-input">
<a id="updates_dec_{{ forloop.index }}" class="quantity-down" href="{{ routes.cart_change_url }}?id={{ item.key }}&quantity={{ quantity | minus: 1 }}" aria-label="{{ 'cart.items.decrease_quantity' | t | escape }}">{% render 'icon-minus' %}</a>
<input
class="cart-item__quantity-input"
type="number"
size="2"
id="updates_{{ forloop.index }}"
name="updates[]"
data-initial-value="{{ quantity }}"
data-key="{{ item.key }}"
min="0"
{% if item.variant.inventory_management != blank and item.variant.inventory_policy == 'deny' and item.variant.inventory_quantity > 0 %}
max="{{ item.variant.inventory_quantity }}"
value="{{ quantity }}"
{% else %}
value="{{ quantity }}"
{% endif %}
aria-label="{{ 'cart.items.quantity' | t | escape }}" />
<a id="updates_inc_{{ forloop.index }}" class="quantity-up {% unless can_increase %}unusable{% endunless %}" href="{{ routes.cart_change_url }}?id={{ item.key }}&quantity={{ quantity | plus: 1 }}" aria-label="{{ 'cart.items.increase_quantity' | t | escape }}">{% render 'icon-plus' %}</a>
</div>
<a class="cart-item__remove small-text underline" href="{{ routes.cart_change_url }}?id={{ item.key }}&quantity=0">
{{- 'cart.items.remove' | t -}}
</a>
</div>
But any change works, I don´t know if there is other similar code in other place.
For example, if I change quantity={{ quantity | minus: 1 }} for this: quantity={{ quantity | minus: 5 }}, anything happens. It still discount one by one.
Is possible that those variables are being modified in other part of the code?
Thank you very much
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025