updateQuantity not working properly // modified dawn

Solved

updateQuantity not working properly // modified dawn

raymondarevalo
Shopify Partner
3 1 1

Whenever I update or remove an item from my cart drawer, nothing changes in the cart-drawer section. I have to reload the page in order to see an updated cart.

With further inspection I realize that my 

 

fetch(`${routes.cart_change_url}`, { ...fetchConfig(), ...{ body } }){}

 

 within my updateQuantity only has the 'cart-icon-bubble' section and not 'cart-drawer' section.

 

Does anyone know why my fetch to cart_change_url does not include a 'cart-drawer' section?

Accepted Solution (1)

raymondarevalo
Shopify Partner
3 1 1

This is an accepted solution.

Issue found:
I installed env-cmd and was running env-cmd shopify theme dev to work around Shopify's 502 error from a few days ago. 

 

Resolution:

removing env-cmd

View solution in original post

Reply 1 (1)

raymondarevalo
Shopify Partner
3 1 1

This is an accepted solution.

Issue found:
I installed env-cmd and was running env-cmd shopify theme dev to work around Shopify's 502 error from a few days ago. 

 

Resolution:

removing env-cmd