-
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
How to Merge guest quote items to customer quote(if customer log in) by magento 2 rest API #24808
Comments
Hi @sangeetajain. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @sangeetajain do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-Charlie. Thank you for working on this issue.
|
✅ Confirmed by @engcom-Charlie Issue Available: @engcom-Charlie, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
Hi @ivan-koliadynskyy. Thank you for working on this issue.
|
Hello Team, |
Hello Team, |
Hello @sangeetajain ! |
Hi @sangeetajain. Thank you for your report.
The fix will be available with the upcoming 2.3.4 release. |
I created a workaround from the above fix for versions < 2.3.4. https://github.com/troublediehard/plab-cartsmergefix |
What need to do for work with magento 2.3.3 |
The fix is working but the merge is not taking into consideration the available quantity of stock items of the products in cart. The setQty bypasses any check of availability / eligibility. |
Preconditions (*)
Magento 2.3-develop
If any one is add products in cart by guest and after that login then how it will merge guest cart to customer login cart items by Rest API.
Steps to reproduce (*)
Expected result (*)
200 OK
true
Actual result (*)
getting error : "The customer can't be assigned to the cart because the customer already has an active cart."
The text was updated successfully, but these errors were encountered: