From afc7ea8d2d305f6aacf0006439835b70a081c8d7 Mon Sep 17 00:00:00 2001 From: amit sharma Date: Mon, 7 Sep 2026 13:47:44 +0530 Subject: [PATCH] Fixed : fix fatal issue after getting the merge --- .../_partials/cart_booking_services.tpl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/themes/hotel-reservation-theme/_partials/cart_booking_services.tpl b/themes/hotel-reservation-theme/_partials/cart_booking_services.tpl index 5a0d69878..a5cffdf4e 100644 --- a/themes/hotel-reservation-theme/_partials/cart_booking_services.tpl +++ b/themes/hotel-reservation-theme/_partials/cart_booking_services.tpl @@ -83,7 +83,15 @@
{if ($product.show_price && !isset($restricted_country_mode)) || isset($groups)} - {if !$priceDisplay}{convertPrice price=$product.price_tax_incl}{else}{convertPrice price=$product.price_tax_exc}{/if}{if $product.price_calculation_method == Product::PRICE_CALCULATION_METHOD_PER_DAY}{l s='/Night'}{/if} + {if !$priceDisplay}{convertPrice price=$product.price_tax_incl}{else}{convertPrice price=$product.price_tax_exc}{/if} + {if Product::getServicePriceBillableDays( + $product.price_calculation_method, + $product.date_from|default:$date_from|default:'', + $product.date_to|default:$date_to|default:'' + ) > 1} + {l s='/Night'} + {/if} + {/if}