Fixed: fix feedback changes

Co-authored-by: Name <sumit201@webkul.in>
This commit is contained in:
amit sharma
2026-08-13 14:35:59 +05:30
parent 080288a03c
commit b3989dc32a
35 changed files with 258 additions and 212 deletions

View File

@@ -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'];