Fixed: Function naming, idLang not optional, Wrong class for features query, and added Return type declarations
Co-authored-by: Name <sumit201@webkul.in>
This commit is contained in:
@@ -409,9 +409,9 @@ class ProductControllerCore extends FrontController
|
||||
}
|
||||
}
|
||||
|
||||
$roomFeatures = HotelRoomType::getFrontFeatures($this->product->id, $this->context->language->id);
|
||||
$roomAmenities = HotelRoomTypeAmenities::getFrontAmenities($this->product->id, $this->context->language->id);
|
||||
$hotelAmenities = HotelBranchAmenities::getFrontAmenities($hotel_id, $this->context->language->id);
|
||||
$roomFeatures = $this->product->getFrontFeatures($this->context->language->id);
|
||||
$roomAmenities = HotelRoomTypeAmenities::getAmenities($this->product->id, $this->context->language->id);
|
||||
$hotelAmenities = HotelBranchAmenities::getAmenities($hotel_id, $this->context->language->id);
|
||||
|
||||
$this->context->smarty->assign(
|
||||
array(
|
||||
|
||||
Reference in New Issue
Block a user