-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 price rule created for logged in user incorrectly gets applied for not logged in user #38944
Comments
Hi @dhruvi-prajapat1. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hi @engcom-Dash. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Dash, here is your Magento Instance: https://7c95f6cbfcda5196c011877c84eafb44.instances-prod.magento-community.engineering |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-12541 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Dash. Thank you for verifying the issue. |
@magento i'm working on this |
Hi @rogerdz, Internal team has started to work on it Thanks. |
Preconditions (*)
Description (*)
There is a cart price rule that applies only to logged-in users, for example, a 5% discount. When the user is logged in and adds a product to the cart, the cart price rule will be applied. After that, the user is logged out automatically because the cookie lifetime has expired.
When the user visits the shop again, the product is still present in the cart, and the cart price rule is still applied to the product, even though the user is not logged in.
Screenshot-1:
Screenshot-2:
Screenshot-3:
Screenshot-4:
Steps to reproduce (*)
Expected result (*)
When user is logged out cart price rule should not applied and cart should be empty.
Actual result (*)
Here user is logged out but still we can see the product in the cart and cart price rule is still applied.
The text was updated successfully, but these errors were encountered: