This commit is contained in:
2026-02-10 12:00:07 +03:30
parent 280815dce3
commit 5fb1c63c4c
10 changed files with 31 additions and 25 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ export class CartService {
const cart = await this.getOrCreateCart(userId, shopId);
for (const addItemDto of bulkAddItemsDto.items) {
await this.itemService.addOrIncrementItem(cart, addItemDto.productId, shopId, addItemDto.quantity);
await this.itemService.addOrIncrementItem(cart, addItemDto.variantId, shopId, addItemDto.quantity);
}
return this.recalculateAndSaveCart(cart);