@@ -333,15 +333,15 @@ class ProductControllerCore extends FrontController
|
||||
/*By webkul To send All needed Hotel Information on product.tpl*/
|
||||
#####################################################################
|
||||
|
||||
$htl_features = array();
|
||||
$htl_features = array();
|
||||
$obj_hotel_room_type = new HotelRoomType();
|
||||
$room_info_by_product_id = $obj_hotel_room_type->getRoomTypeInfoByIdProduct($this->product->id);
|
||||
if ($hotel_id = $room_info_by_product_id['id_hotel']) {
|
||||
$obj_hotel_branch = new HotelBranchInformation();
|
||||
$obj_hotel_branch = new HotelBranchInformation($hotel_id);
|
||||
$hotel_info_by_id = $obj_hotel_branch->hotelBranchesInfo(false, 2, 1, $hotel_id);
|
||||
$hotel_policies = $hotel_info_by_id['policies'];
|
||||
$hotel_name = $hotel_info_by_id['hotel_name'];
|
||||
$propertyType = HotelPropertyType::getPropertyType($hotel_id);
|
||||
$propertyType = $obj_hotel_branch->propertyTypeName;
|
||||
$addressInfo = HotelBranchInformation::getAddress($room_info_by_product_id['id_hotel']);
|
||||
$hotel_location = $addressInfo['city'].
|
||||
($addressInfo['id_state']?', '.$addressInfo['state']:'').', '.$addressInfo['country'];
|
||||
|
||||
Reference in New Issue
Block a user