diff --git a/packages/ep_products/Classes/Service/DateImportService.php b/packages/ep_products/Classes/Service/DateImportService.php index 271562e..496c3c5 100644 --- a/packages/ep_products/Classes/Service/DateImportService.php +++ b/packages/ep_products/Classes/Service/DateImportService.php @@ -494,6 +494,12 @@ class DateImportService implements SingletonInterface, LoggerAwareInterface continue; } + // Rooms MyE&P does not offer for booking are shown as sold out. + // Rows exported before the flag existed keep the previous logic. + if (array_key_exists('bookable', $roomRow) && false === $roomRow['bookable']) { + $available = 0; + } + $roomType = $this->roomTypeResolver->resolve($code, $label, $pax, $roomMinPax); if ($pax < 1 && $roomMinPax < 1) {