magento2: Summary Count is Wrong Add Multiple Items to Cart using addProductsToCart
Preconditions (*)
- Magento 2.4.2 Commerce
- PHP 7.4
Steps to reproduce (*)
- Add Multiple Items to Cart Using Graphql
mutation {
addProductsToCart(
cartId: "XRu4kdwSkA2Hi40PwO4jwkhZxa0bu5zA",
cartItems: [
{
quantity: 1.0,
sku: "132110100209"
},
{
quantity: 1.0,
sku: "132110100210",
}
]
) {
cart {
total_quantity
items {
product {
name
sku
}
quantity
}
}
}
}
- Check Cart data in Cart Section [Local Storage]
Expected result (*)
- summary_count Should be 2
- Items Must Contain 2 Items
Actual result (*)
- summary_count is 1
- There are 2 Items in Cart

Additional Info:
Issue: Only one item summary is displayed in Cart Icon - Summary

Note: Due to the above is : If we noticed that even the price is calculating wrong
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- [* ] Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (5 by maintainers)
Verified the issue again on latest magento version 2.4-develop branch but cannot able to reproduce the issue anymore. Hence closing the issue. :