Fix: Incorrect selling type context during order validation for multi-preference service products

This commit is contained in:
Amit sharma
2026-05-29 19:12:37 +05:30
parent 71cd5573da
commit 412f43919b
38 changed files with 387 additions and 522 deletions

View File

@@ -524,7 +524,7 @@ class GuestTrackingControllerCore extends FrontController
1
);
}
} else if (Product::SELLING_PREFERENCE_HOTEL_STANDALONE == $type_value['selling_preference_type']) {
} else if (Product::SELLING_PREFERENCE_WITH_HOTEL == $type_value['selling_preference_type']) {
$cover_image_arr = $product->getCover($type_value['product_id']);
if (!empty($cover_image_arr)) {
@@ -536,7 +536,7 @@ class GuestTrackingControllerCore extends FrontController
foreach ($hotelProducts as $hotelProduct) {
$hotelServiceProducts[] = array_merge($type_value, $hotelProduct);
}
} else if (Product::SELLING_PREFERENCE_STANDALONE == $type_value['selling_preference_type']) {
} else if (Product::SELLING_PREFERENCE_WITH_STANDALONE == $type_value['selling_preference_type']) {
$cover_image_arr = $product->getCover($type_value['product_id']);
if (!empty($cover_image_arr)) {