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
Thanks Xerkus, I have used the emptyCart method. I also wrote a delete cart method too in order to allow for guest purchases, I am linking cart to my order table and then using the cart id as a means to identify a session cart to a saved order...
Once a user has made a purchase, I want to destroy / remove the cart and all related items.
What is the process to do this?
Thanks!
The text was updated successfully, but these errors were encountered: