Hey everyone, so I have an app that has a product details page where users add items to the cart and they can checkout, remove from cart, etc. Basically a generic shopping cart. However, if I am signed in as user1 for example, and add something to the cart, then sign out and login as user2, user2 can now see user1's cart. How can I make it so that the cart is unique for each user?
Making shopping cart unique for each user
Custom Code
I tried searching for this online and haven't found anything on this at all. The only thing I found was a comment on a youtube video that mentioned using a filter but I couldn't figure out how to do that.
Yes
5 replies