Whenever I’m adding the same item to a cart on my store, the item is appearing as multiple line items in the cart instead of grouping by the quantity of the item. When inspecting the returned json from /cart.js the objects in the returned items array have the same ids but are not grouping together in this loop:
{% for item in cart.items %}
{% endfor %}
It is instead just showing the same item but with quantity of 1