From 2079c91cc12e717b8489c6479d07e98c3ce85923 Mon Sep 17 00:00:00 2001 From: amit sharma Date: Tue, 3 Nov 2026 18:27:47 +0530 Subject: [PATCH] Fixed: Cart popup not updating after adding or removing service products --- themes/hotel-reservation-theme/js/order-opc.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/themes/hotel-reservation-theme/js/order-opc.js b/themes/hotel-reservation-theme/js/order-opc.js index 901a67ced..88f81788f 100644 --- a/themes/hotel-reservation-theme/js/order-opc.js +++ b/themes/hotel-reservation-theme/js/order-opc.js @@ -679,6 +679,10 @@ $(document).ready(function() success: function(jsonData) { if (!jsonData.hasError) { showSuccessMessage(txtExtraServiceSucc); + // refresh the header cart dropdown too + if (typeof ajaxCart !== 'undefined') { + ajaxCart.refresh(); + } } else { showErrorMessage(jsonData.errors);