devdocs
devdocs copied to clipboard
Add a configurable product to a cart - Specify a parent and a child SKU : Given example is not working as expected
Is there an existing issue for this?
- [X] I have searched the existing issues
Which topic?
https://devdocs.magento.com/guides/v2.4/graphql/mutations/add-products-to-cart.html#add-a-configurable-product-to-a-cart
What's wrong with the content?
I have tried the example given under Specify a parent and a child SKU
, however, it's not adding the product as a configurable product into the cart instead it's adding the product as a simple product.
I looked into the code and there is no logic to get the configurable option based on the parent_sku
and sku
param
What changes do you propose?
I would suggest removing this section and adding it back once its handled in code level
Anything else that can help to cover this?
No response
Hi @rmsundar1. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
- Join Magento Community Engineering Slack and ask your questions in #github channel.
@keharper Any thoughts here?
I'll try to find time to look at this issue. I don't work in this area any more, so it might be a while.
@keharper Do you need a little more time?