diff --git a/controllers/front/ProductController.php b/controllers/front/ProductController.php index 2d85e00c0..c9a881d6f 100644 --- a/controllers/front/ProductController.php +++ b/controllers/front/ProductController.php @@ -367,6 +367,8 @@ class ProductControllerCore extends FrontController 'num_days' => $num_days, 'date_from' => $date_from, 'date_to' => $date_to, + 'hotel_check_in' => date('h:i a', strtotime($hotel_branch_obj->check_in)), + 'hotel_check_out' => date('h:i a', strtotime($hotel_branch_obj->check_out)), 'hotel_location' => $hotel_location, 'hotel_name' => $hotel_name, 'hotel_policies' => $hotel_policies, diff --git a/themes/hotel-reservation-theme/product.tpl b/themes/hotel-reservation-theme/product.tpl index c10f43ae4..ac7825817 100644 --- a/themes/hotel-reservation-theme/product.tpl +++ b/themes/hotel-reservation-theme/product.tpl @@ -203,6 +203,15 @@ {/if} +
+
+ {l s='Check-in and check-out time'} +
+
+

{l s='Check-in: '}{$hotel_check_in|escape:'html':'UTF-8'}

+

{l s='Check-out: '}{$hotel_check_out|escape:'html':'UTF-8'}

+
+
{if isset($features) && $features}