You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of that package or tool are you using?
2023-01
What version of Remix are you using?
No response
Steps to Reproduce
Build project use custom storefront hydrogen
Add item to card use AddToCartButton Component of @shopify/hydrogen-react
Use component CartCheckoutButton to redirect user to checkout url
Execute checkout success
Expected Behavior
Cart Data in hydrogen react project is removed
Actual Behavior
Cart Data in hydrogen react project is not removed, only when refresh page => cart removed
I want cart data is checked realtime
The text was updated successfully, but these errors were encountered:
sondt1610
changed the title
how to clear cart data in hydrogen react project after use CartCheckoutButton (hydrogen react component) and redirect to checkout url and checkout success
cart data in hydrogen react project is not removed realtime, only removed when refresh page
Mar 22, 2023
What is the location of your example repository?
https://shopify.dev/docs/api/hydrogen-react/components/cartcheckoutbutton
Which package or tool is having this issue?
hydrogen-react
What version of that package or tool are you using?
2023-01
What version of Remix are you using?
No response
Steps to Reproduce
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: