From a94da11026810564b9f563c2eec8bda562fa6da5 Mon Sep 17 00:00:00 2001 From: Shreesh Arora Date: Wed, 31 Jul 2024 19:14:56 +0530 Subject: [PATCH] Added: Hotel description in room type pagetype page in front office --- controllers/front/ProductController.php | 1 + themes/hotel-reservation-theme/product.tpl | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/controllers/front/ProductController.php b/controllers/front/ProductController.php index 0e205f560..08a4d3b68 100644 --- a/controllers/front/ProductController.php +++ b/controllers/front/ProductController.php @@ -416,6 +416,7 @@ class ProductControllerCore extends FrontController 'hotel_phone' => $addressInfo['phone'], 'hotel_name' => $hotel_name, 'hotel_rating' => $hotel_info_by_id['rating'], + 'hotel_description' => $hotel_info_by_id['description'], 'hotel_policies' => $hotel_policies, 'hotel_features' => $htl_features, 'hotel_image_link' => $hotelImageLink, diff --git a/themes/hotel-reservation-theme/product.tpl b/themes/hotel-reservation-theme/product.tpl index 83df1ae52..4107ebe99 100644 --- a/themes/hotel-reservation-theme/product.tpl +++ b/themes/hotel-reservation-theme/product.tpl @@ -252,6 +252,16 @@ {/if} + {if isset($hotel_description) && $hotel_description} +
+
+ {l s='Hotel Description'} +
+
+

{$hotel_description}

+
+
+ {/if} {/if} {if isset($hotel_has_images) && $hotel_has_images}