GeneralMagicio / ens-merch-shop

https://www.ensmerchshop.xyz/
MIT License
3 stars 1 forks source link

Bug: My Cart #60

Closed maryjaf closed 1 year ago

maryjaf commented 1 year ago

I add a product in my cart with user x when I log out from user x A product is still displayed in the cart

image
ahmadabugosh commented 1 year ago

This is the same issue as the cart not clearing in the cache after a successful order @RamRamez

RamRamez commented 1 year ago

@ahmadabugosh we have two sign in and sign out method in the app. Sign in with wallet and sign in with username and password. What is the desired behavior when user signs out of each one?

ahmadabugosh commented 1 year ago

@RamRamez I think those are two separate issues. The main thing for this issue is to clear the cart once an order goes through.

The two sign in options are separate for now, the shopify one lets you view the orders and the wallet one lets you connect your wallet to customize your ENS name.

RamRamez commented 1 year ago

@maryjaf since people could check out as a guest, we don't need to delete cart items on log out