From db6bb152cc223ff169edd069a01304489cc1690c Mon Sep 17 00:00:00 2001 From: amit sharma Date: Thu, 1 Oct 2026 19:08:32 +0530 Subject: [PATCH 1/2] Fixed: Prevent Hotel From Being Displayed Twice for Attached Service Products Co-authored-by: Name --- themes/hotel-reservation-theme/_partials/booking-form.tpl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/themes/hotel-reservation-theme/_partials/booking-form.tpl b/themes/hotel-reservation-theme/_partials/booking-form.tpl index c19447241..2c0ae4253 100644 --- a/themes/hotel-reservation-theme/_partials/booking-form.tpl +++ b/themes/hotel-reservation-theme/_partials/booking-form.tpl @@ -228,12 +228,6 @@ {l s='Buy Standalone.'} - - {/if} {/block} @@ -241,7 +235,7 @@
{if isset($associated_hotels) && $associated_hotels}
- + id) }checked="checked"{/if}> - {l s='Sell With Standalone'} + {l s='Sell as a Standalone'}
diff --git a/classes/PaymentModule.php b/classes/PaymentModule.php index 6c7b2df80..7a2018188 100644 --- a/classes/PaymentModule.php +++ b/classes/PaymentModule.php @@ -619,7 +619,7 @@ abstract class PaymentModuleCore extends Module $serviceProducts = $objServiceProductCartDetail->getServiceProductsInCart( $order->id_cart, [], - null, + isset($product['id_hotel']) ? (int) $product['id_hotel'] : null, 0, null, $product['id_product']