Known issues
Products in the `product-list` that have an `itemAttachment` duplicate when the quantity is increased
Products in the `product-list` that have an `itemAttachment` duplicate when the quantity is increased
ID:
Backlog
Published on 9/17/2021
•
Last update on 12/22/2022
Summary
If a store uses the product-list
component of Store Framework, used in the minicart
, cart items may be duplicated when increasing the quantity of an item that has an attachment (itemAttachment
).
This is because the default noSplitItem
behavior of the API request that updates cart items is false
.
Simulation
- In your store, add to the cart an item that has an attachment option;
- Include an attachment to the item added to the cart;
- Increase the quantity of this item with the cart item update request by sending the following body:
{"orderItems": [{"index": 0,"quantity": 2}]}
- Notice that the API returns the list of items with the duplicate product, instead of increasing the quantity.
Workaround
Currently, there is no workaround.