Added: Hotel rating with the hotel name in the room type page in the front
This commit is contained in:
@@ -413,6 +413,7 @@ class ProductControllerCore extends FrontController
|
||||
'hotel_address1' => $addressInfo['address1'],
|
||||
'hotel_phone' => $addressInfo['phone'],
|
||||
'hotel_name' => $hotel_name,
|
||||
'hotel_rating' => $hotel_info_by_id['rating'],
|
||||
'hotel_policies' => $hotel_policies,
|
||||
'hotel_features' => $htl_features,
|
||||
'hotel_image_link' => $hotelImageLink,
|
||||
|
||||
@@ -1718,3 +1718,8 @@ ul.service-product-nav > li:hover {
|
||||
|
||||
#room_info_hotel_images .skeleton-loading-wrap .loading-container-box {
|
||||
height: 200px; }
|
||||
#hotel_rating {
|
||||
font-size: 16px;
|
||||
display: inline-block;
|
||||
color: #3e3d3d;
|
||||
}
|
||||
@@ -71,6 +71,7 @@
|
||||
<span>{$product->name}
|
||||
{* Block for booking products *}
|
||||
{if isset($id_hotel) && $id_hotel} - {$hotel_name}{/if}
|
||||
{if isset($hotel_rating) && $hotel_rating}<span id="hotel_rating">{for $i=0; $i < $hotel_rating; $i++}<i class="icon-star"></i>{/for}</span>{/if}
|
||||
</span>
|
||||
{hook h='displayRoomTypeDetailRoomTypeNameBlock' id_product=$product->id}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user