Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
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?
Solved! Go to the solution
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
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