Hi,
We have a mini cart liquid file, we can display quantity by using rv-text=“item.quantity”, but if we used {{item.quantity}}, it will display 0. after added
{% for item in cart.items %}, we can only display the first product quantity.
How can we change the code here?
thanks
Abby
{% for item in cart.items %}
#### {{ 'cart.general.title' | t }}
- {{ 'cart.general.empty' | t }}
- - <small>{property.name}: {property.value}</small>
{{ 'products.product.quantity' | t }}: Box
SQM: {{item.quantity}} m<sub>2</sub>
- {{ 'cart.general.subtotal' | t }}:
- {%- if settings.free_ship_minicart and settings.free_ship != blank and settings.free_ship_msg != blank -%}
{%- assign shipProd = all_products[settings.free_ship] -%}
{{settings.free_ship_msg | replace: '$','' }}
{{settings.got_free_ship }}
{%- endif -%}
{%- if settings.terms_checkbox -%}
{%- endif -%}
{{ 'cart.general.view_cart' | t }}
{% endfor %}