From 51c2c567394a1f23b2b950e2c42e1d5ca7e70760 Mon Sep 17 00:00:00 2001 From: sumit panwar Date: Mon, 15 Feb 2021 14:30:30 +0530 Subject: [PATCH] static product price removed from HotelRoomTypeFeaturePricing class in hotelreservationsystem module --- .../classes/HotelRoomTypeFeaturePricing.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/hotelreservationsystem/classes/HotelRoomTypeFeaturePricing.php b/modules/hotelreservationsystem/classes/HotelRoomTypeFeaturePricing.php index d4a7c8341..bffdd1b58 100644 --- a/modules/hotelreservationsystem/classes/HotelRoomTypeFeaturePricing.php +++ b/modules/hotelreservationsystem/classes/HotelRoomTypeFeaturePricing.php @@ -332,8 +332,7 @@ class HotelRoomTypeFeaturePricing extends ObjectModel $id_product = $key; // feature price rates create and updates if (isset($roomTypeRates['rate'])) { - //$productPriceTE = Product::getPriceStatic((int) $id_product, false); - $productPriceTE = 1000; + $productPriceTE = Product::getPriceStatic((int) $id_product, false); if ($productPriceTE != $roomTypeRates['rate']) { if ($productPriceTE > $roomTypeRates['rate']) { $priceImpactWay = 1;