Hi,
The code for the minimum order quantity on the product page using metafield is working well. But even after changing the code in main-cart-items.liquid, it is not working. so i removed it. Still, I am able to change the quantity below the minimum order quantity. I am using the impulse theme can anyone please code and share with me it well be a huge help for me. this is the url: https://panchavatishop.com/
{% assign min_quantity = item.product.metafields.my_fields.minimum_quantity %}
{% if min_quantity == blank %}
{% assign min_quantity = 1 %}
{% endif %}
{% assign box_quantity = item.product.metafields.my_fields.boxx_quantity %}
{% if box_quantity == blank %}
{% assign box_quantity = 1 %}
{% endif %}
<input class=“quantity__input”
type=“number”
name=“updates”
value=“{{ item.quantity }}”
min=“{{min_quantity}}”
onkeydown=“return false”
step=“{{box_quantity}}”
aria-label=“{{ ‘products.product.quantity.input_label’ | t: product: item.product.title | escape }}”
id=“Quantity-{{ item.index | plus: 1 }}”
data-index=“{{ item.index | plus: 1 }}”
this is the code i was using in the cart-items.liquid but removed now please anyone please code this for me