From 39cbc47723835aa481e0a64a2808cd86d0922bd9 Mon Sep 17 00:00:00 2001 From: Sumit Panwar Date: Wed, 18 Jun 2025 13:33:16 +0530 Subject: [PATCH] Fixed: Wrong product cart quantity is calculated for auto add service products in the cart --- classes/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Cart.php b/classes/Cart.php index a1852f2e0..b1e132d31 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -2432,7 +2432,7 @@ class CartCore extends ObjectModel $array[$selectedProduct['id_room_type_hotel']]['total_price_tax_incl'] += $selectedProduct['total_price_tax_incl']; } else { $array[$selectedProduct['id_room_type_hotel']] = array( - 'quantity' => $selectedProduct['quantity'], + 'quantity' => 0, 'id_hotel' => $selectedProduct['id_room_type_hotel'], 'total_price_tax_excl' => $selectedProduct['total_price_tax_excl'], 'total_price_tax_incl' => $selectedProduct['total_price_tax_incl'],