Closed gil-- closed 5 years ago
Going ahead and merging this. Will follow up with a phase 2 that has additional basic core functionality. Will do a phase 3 later on with advanced features (gift wrapping, shipping rates, refactor into reusable component (minicart), etc.)
Hi @gil-- Thanks for your amazing starter. I was wondering if you already have a solution to clear the checkout session (and current cart) when the user completed the checkout? 🙏🏻
@tijsluitse I think the first method I'd try is by clearing it whenever a user lands on the checkout success page, assuming checkout redirects back to the PWA on successful checkout.
Any other option would be much more complex.
Yes indeed, that's what I have done now. Thanks for your reply man!
Basic Cart functionality:
Next Phase