From b4acaf737bda2df263b9ce2cd6e30a287aa6486a Mon Sep 17 00:00:00 2001 From: Sumit Panwar Date: Wed, 2 Jul 2025 13:16:28 +0530 Subject: [PATCH] Fixed: Wrong price in cart dropdown in header if Product selling preference is changed after adding the product into the cart --- modules/blockcart/blockcart.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/blockcart/blockcart.php b/modules/blockcart/blockcart.php index 976bbc4f4..6bbe92cc0 100644 --- a/modules/blockcart/blockcart.php +++ b/modules/blockcart/blockcart.php @@ -50,6 +50,9 @@ class Blockcart extends Module { global $errors; + // validate cart bookings before displaying cart + HotelCartBookingData::validateCartBookings(); + // Set currency if ((int) $params['cart']->id_currency && (int) $params['cart']->id_currency != $this->context->currency->id) { $currency = new Currency((int) $params['cart']->id_currency);