This repository was archived by the owner on Dec 19, 2019. It is now read-only.
Separate cart items are created instead of quantity increment #793
Labels
bug
Something isn't working
Uh oh!
There was an error while loading. Please reload this page.
... and update of the last cart-items discards an update that was applied to the first cart-item. Cart-items are never joined together.
Related to #699
The cart is not updating properly: new cart items are created instead of changing quantity while adding the same product to the cart. At the same time update of the first cart-item do not trigger recalculation while update of the last one joins them back together.
Note: could be specific to customizable_options
c7d9130
Preconditions (*)
Create a configurable product with a customizable option that is not required

Add this product to cart via
addConfigurableProductsToCart
. Specify that package isD
and quantity is1
Change quantity to
2
viaupdateCartItems
Add this product to cart via
addConfigurableProductsToCart
. Specify that package isD
and quantity is3
(repeat what was done in step 2 without any changes. Even quantity is updated it is still the same cartItem)Verify that your cart contains 2 cart items. Stop reproducing here if your information differs. For example:
Steps to reproduce (*)
My result was:
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: