We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4225095 commit ecb06c3Copy full SHA for ecb06c3
assets/cart.js
@@ -160,9 +160,9 @@ class CartItems extends HTMLElement {
160
return response.text();
161
})
162
.then((state) => {
163
+ const parsedState = JSON.parse(state);
164
165
CartPerformance.measure(`${eventTarget}:paint-updated-sections"`, () => {
- const parsedState = JSON.parse(state);
166
const quantityElement =
167
document.getElementById(`Quantity-${line}`) || document.getElementById(`Drawer-quantity-${line}`);
168
const items = document.querySelectorAll('.cart-item');
0 commit comments