Top

The Cart Count is Showing More than is in the Cart

Find the following in either the theme.liquid or cart.liquid:

Replace: 

{{ cart.item_count }}

with:

{% assign count = 0 %}{% for item in cart.items %}{%if item.variant.metafields.bold_measurement.formula %}{% capture temp %}{{ count | plus: 1 }}{% endcapture %}{% assign count = temp %}{% else %}{% capture temp %}{{ count | plus: item.quantity }}{% endcapture %}{% assign count = temp %}{% endif %}{% endfor %}{{ count }}
Have more questions? Submit a request