diff --git a/public/typo3conf/ext/ep_products/Classes/Service/DateImportService.php b/public/typo3conf/ext/ep_products/Classes/Service/DateImportService.php index dbb22c2f..f6a8401c 100644 --- a/public/typo3conf/ext/ep_products/Classes/Service/DateImportService.php +++ b/public/typo3conf/ext/ep_products/Classes/Service/DateImportService.php @@ -554,13 +554,13 @@ class DateImportService implements SingletonInterface, LoggerAwareInterface $price = (int) $roomXml->attributes()['preis']; // Skip all unavailable rooms - if (!$available) { +// if (!$available) { +// continue; +// } + // Skip rooms with zero price _and_ zero availability. + if (!$available && !$price) { continue; } - // Skip rooms with zero price and zero availability. - //if (!$available && !$price) { - // continue; - //} $pax = (int) $roomXml->attributes()['MaxPax']; $availableTotal += $available * $pax;