devdocs icon indicating copy to clipboard operation
devdocs copied to clipboard

Feedback on page: /guides/v2.4/graphql/mutations/update-cart-items.html

Open mmborado opened this issue 6 years ago • 2 comments

General issue

Description:

Query does not return correct cart data after removing multiple items

Additional information:

After setting the quantities of multiple items to 0 the cart returns, but only removes 1 item. If I had 3 items in cart and set all 3 to be removed, then the cart would display 2 items.

I queried for the cart after the mutation and it shows that all the items have been removed so the cart is still removing the items, but the uptdateCartItems query does not return correct data.

mmborado avatar Sep 04 '20 01:09 mmborado

Hi @mmborado. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


m2-assistant[bot] avatar Sep 04 '20 01:09 m2-assistant[bot]

Hi @mmborado. I replicated your scenario and got the same results as you. However, this is a code bug, not a documentation bug. Please open an issue on the code repo, https://github.com/magento/magento2/issues, so that this can be fixed.

keharper avatar Sep 04 '20 03:09 keharper