Im trying to check if the user has a lower quantity than min-qty in his cart.
Im using Vantage theme by We are Underground LLC
{% for item in cart.items %}
{% if item.product.tags contains "min-purchase-qty=" %}
{% assign min_qty = tag | split: "=" | last %}
{% endif %}
{% endfor %}
<input class="updates_{{ item.id }}-{{ forloop.index }} ajax-cart__qty-input v-center a-center mb0"
data-item-qty
data-item-id="{{ item.id }}-{{ forloop.index }}"
data-item-key="{{ item.key }}"
data-item-line="{{ forloop.index }}"
type="number"
name="updates[]"
value="{{ item.quantity }}"
min="{{ min_qty }}"
data-limit="{% if item.variant.inventory_management == 'shopify' %}{% unless item.variant.inventory_policy == 'continue' %}{{ item.variant.inventory_quantity }}{% endunless %}{% endif %}" />