-
-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cart is persistent across different user login/logout, tough sharing pricing/voucher #54
Comments
+1 I notice this issue as well. And there seems not to be an endpoint that get the last cart of a customer, nor Medusa handle that automatically |
Have you found any workaround? |
This is due to the
Would you guys expect this to be the default behaviour? |
@VariableVic In my case the users don't even log in, they share filled address info across devices and browsers. How can we sign out if the users are not logged in? It works fine when they are logged in. |
@wildan-m Then I didn't understand your issue correctly. OP mentioned that the cart persists after logging out or switching accounts, which is correct and by design. What is the exact issue you're facing? Please provide detailed steps on how to reproduce. |
@VariableVic Some of the information in this section (usually email) can be seen by other visitors and auto-filled, even when they are using different browsers/devices. This happens when users are not in a logged-in state. The weird behavior does not occur when using localhost, but when deployed to the server, it occurs. I use the Ubuntu server with pm2 to start the node. |
@wildan-m Have you found any solution for above issue? I'm facing similar issue. |
@sumanchy88 Not resolved yet, my client understands that the issue does not come from my customization, so he just lets it go. |
Bug report
Describe the bug
1)I login with a user i add product to my cart . I may or may not apply a voucher-discount or even add a price list.
i logout or switch user
i still have the cart with the voucher/pricelist(bypassing the pricelist restriction)
Additional context
Expected behavior
If i logout, or switch user my cart should be different and link to that user especially if pricing or voucher where used.
The text was updated successfully, but these errors were encountered: