I’ve added a span into cart.liquid, however, when the user changes the quantity of the item this causes the cart to reload and the span I added disappears.
I’ve looked into theme.js and found that when the quantity changes it triggers the updateCart function. What I can’t seem to figure out is where it’s getting the re-rendered cart code from?
If the user refreshes the page after the cart re-renders the span appears again.
Does anyone know where I can change the code that the re-rendered cart is using?
Thanks in advanced