Menu
Feedback
Start here

Known issues

Known issues
Products in the `product-list` that have an `itemAttachment` duplicate when the quantity is increased
Shopping
•
ID:
Backlog
Published on9/17/2021
•
Last updated on12/22/2022
1 min read

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

  1. In your store, add to the cart an item that has an attachment option;
  2. Include an attachment to the item added to the cart;
  3. Increase the quantity of this item with the cart item update request by sending the following body:

    {
    "orderItems": [
    {
    "index": 0,
    "quantity": 2
    }
    ]
    }

  4. Notice that the API returns the list of items with the duplicate product, instead of increasing the quantity.

Workaround

Currently, there is no workaround.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback