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
Describe the bug
I have the cart configured to not split products on faststore.config.js
cart: {
id: "",
items: [],
messages: [],
shouldSplitItem: false,
},
When I change the quantity a product with a attachment on miniCart, the product is splited.
This quantity is changed by cartStore.updateItemQuantit from sdk
import { cartStore } from 'src/sdk/cart'
cartStore.updateItemQuantity(item.id, quantity)
This split create a bug scenario, the request sent a quantity 2 on ValidateCartMutation, but response has a quantity 4
Describe the bug
I have the cart configured to not split products on faststore.config.js
cart: {
id: "",
items: [],
messages: [],
shouldSplitItem: false,
},
When I change the quantity a product with a attachment on miniCart, the product is splited.
This quantity is changed by cartStore.updateItemQuantit from sdk
import { cartStore } from 'src/sdk/cart'
cartStore.updateItemQuantity(item.id, quantity)
This split create a bug scenario, the request sent a quantity 2 on ValidateCartMutation, but response has a quantity 4
.har file compressed to validation
sfj-51cd395--farewayqa.preview.vtex.app_Archive [24-08-26 13-37-54].har.zip
Expected behavior
Product with attachment not split on orderForm when quantity is changed
Steps to reproduce
Workspace
https://sfj-51cd395--farewayqa.preview.vtex.app
The text was updated successfully, but these errors were encountered: