changes product const name

This commit is contained in:
Amit sharma
2026-05-29 13:14:04 +05:30
parent fa775f8169
commit 71cd5573da
27 changed files with 161 additions and 165 deletions

View File

@@ -324,9 +324,9 @@ class ParentOrderControllerCore extends FrontController
$objServiceProductCartDetail = new ServiceProductCartDetail();
$hotelSellingPreferences = [
Product::SELLING_PREFERENCE_HOTEL_STANDALONE,
Product::SELLING_PREFERENCE_HOTEL_STANDALONE_AND_WITH_ROOM_TYPE,
Product::SELLING_PREFERENCE_HOTEL_STANDALONE_AND_WITH_STANDALONE,
Product::SELLING_PREFERENCE_HOTEL_STANDALONE_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE,
Product::SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE,
Product::SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_STANDALONE,
Product::SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE,
];
if ($hotelProducts = $objServiceProductCartDetail->getServiceProductsInCart(
$this->context->cart->id,
@@ -353,9 +353,9 @@ class ParentOrderControllerCore extends FrontController
$standaloneSellingPreferences = [
Product::SELLING_PREFERENCE_STANDALONE,
Product::SELLING_PREFERENCE_HOTEL_STANDALONE_AND_WITH_STANDALONE,
Product::SELLING_PREFERENCE_STANDALONE_AND_WITH_ROOM_TYPE,
Product::SELLING_PREFERENCE_HOTEL_STANDALONE_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE,
Product::SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_STANDALONE,
Product::SELLING_PREFERENCE_WITH_STANDALONE_AND_WITH_ROOM_TYPE,
Product::SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE,
];
$standaloneProducts = $objServiceProductCartDetail->getServiceProductsInCart(
$this->context->cart->id,
@@ -501,9 +501,9 @@ class ParentOrderControllerCore extends FrontController
$objServiceProductCartDetail = new ServiceProductCartDetail();
$standaloneSellingPreferences = [
Product::SELLING_PREFERENCE_STANDALONE,
Product::SELLING_PREFERENCE_HOTEL_STANDALONE_AND_WITH_STANDALONE,
Product::SELLING_PREFERENCE_STANDALONE_AND_WITH_ROOM_TYPE,
Product::SELLING_PREFERENCE_HOTEL_STANDALONE_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE,
Product::SELLING_PREFERENCE_WITH_HOTEL_AND_WITH_STANDALONE,
Product::SELLING_PREFERENCE_WITH_STANDALONE_AND_WITH_ROOM_TYPE,
Product::SELLING_PREFERENCE_WITH_HOTE_AND_WITH_ROOM_TYPE_AND_WITH_STANDALONE,
];
if (count($objServiceProductCartDetail->getServiceProductsInCart(
$this->context->cart->id,