-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Complex message added for add to cart success message #27977
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
Complex message added for add to cart success message #27977
Conversation
Hi @ajithkumar-maragathavel. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
Hello @ajithkumar-maragathavel , thank you for the contribution. Please note, due to Magento Definition of Done the changes must be covered by tests. Could you please cover your fix by the appropriate unit test? Thank you! |
@magento create issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @ajithkumar-maragathavel,
Could you resolve merge conflict & cover your change with some kind of test?
…-error-message � Conflicts: � app/code/Magento/Wishlist/Controller/Index/Cart.php
… complex-error-message
@magento run all tests |
9094c7c
to
812d943
Compare
@magento run all tests |
dev/tests/integration/testsuite/Magento/Wishlist/Controller/Index/CartTest.php
Show resolved
Hide resolved
Hi @ihor-sviziev, thank you for the review. |
✔️ QA Passed Preconditions:
Manual testing scenario:
Before: ✖️ The add to cart success message came up without the shopping cart link attached to it. After: ✔️ The add to cart success message came up with the shopping cart link attached to it.
Before: ✖️ The add to cart success message came up without the shopping cart link attached to it. After: ✔️ The add to cart success message came up with the shopping cart link attached to it. Also was tested on the Blank theme and everything works as expected. |
Hi @ajithkumar-maragathavel, thank you for your contribution! |
Description (*)
Usually when we add a product from the product listing page or product description page.
The add to cart success message will come up with the shopping cart link attached to it.
Please refer the below screenshot:

But when we add the products from the customer account sidebar (Recently ordered product or Wishlist), The add to cart success message will not come up with the shopping cart link.
Please refer the below screenshot:

Please refer to the customer account sidebar screenshot below:

Therefore I have replaced the existing message with the add to cart success complex message with the shopping cart link.
Manual testing scenarios (*)
Contribution checklist (*)
Resolved issues: