From 41092a1abab819a70724adcce180cf991bdeb53f Mon Sep 17 00:00:00 2001 From: Aman deep sharma Date: Fri, 13 Dec 2024 11:34:42 +0530 Subject: [PATCH] Fixed: A new cart is created every time the admin adds a room to the cart --- .../controllers/admin/AdminHotelRoomsBookingController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/hotelreservationsystem/controllers/admin/AdminHotelRoomsBookingController.php b/modules/hotelreservationsystem/controllers/admin/AdminHotelRoomsBookingController.php index 04d0dc8a6..c4f70e5d2 100644 --- a/modules/hotelreservationsystem/controllers/admin/AdminHotelRoomsBookingController.php +++ b/modules/hotelreservationsystem/controllers/admin/AdminHotelRoomsBookingController.php @@ -88,6 +88,7 @@ class AdminHotelRoomsBookingController extends ModuleAdminController $this->context->cart->save(); $this->context->cookie->id_cart = (int) $this->context->cart->id; + $this->context->cookie->write(); } public function postProcess()