You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.
This prevents undesired behavior when adding multiple variants of the same SKU
to the cart in a single request. Without cloning the product when adding to,
the product object set with the quote item is a referenced object. When adding
a n+1 cart item with same sku, but different options multiple cart items are
referencing the same instance of a product object. This causes
Item::representProduct to ignore custom option and variant differences.
Fixesmagento#854
@lenaorobei, not a bug, I believe. On Storefront the dropdown menu is not of the type "multiple" it is an ordinary select menu. Customer is able to select more than 1 variation but in this case, Customer has to add the product to the cart twice.
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Response contains requested items and their respective quantities
Actual result (*)
A single item is added to the cart with a quantity of the summed request item quantities
The text was updated successfully, but these errors were encountered: