-
Notifications
You must be signed in to change notification settings - Fork 9.4k
[GraphQL] - addProductsToCart mutation doesn't work as expect with a given parent_sku #39873
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
Comments
Hi @Dnd-Mafer. 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 @Dnd-Mafer, Thanks for your reporting and collaboration. We have tried to reproduce the issue in Latest 2.4-develop instance and we are not able to reproduce and it seems to be an expected behaviour.Kindly refer the screenshots. ![]() ![]() we can only add the child product of configurable product(variants) by selecting the configurable options and it is working fine with addproductstocart mutation.Could you please let us know if we are missing anything. Thanks. |
This is not what is the official documentation : https://developer.adobe.com/commerce/webapi/graphql/schema/cart/mutations/add-products/#specify-a-parent-and-a-child-sku ![]() |
Hi @Dnd-Mafer, Thanks for your update. We have tried to reproduce the issue in Latest 2.4-develop instance and we are able to reproduce the issue.Kindly refer the screenshots. ![]() Hence Confirming the issue. Thanks. |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-14573 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Bravo. Thank you for verifying the issue. |
Preconditions and environment
Steps to reproduce
Expected result
Actual result
Additional information
When we use the other way it works as expected.
The main problem is the cart doesn't contain the configurable product which leads to issues.
Release note
[GraphQL] - fix addProductsToCart when specifying parent_sku to work as expected
Triage and priority
The text was updated successfully, but these errors were encountered: