diff --git a/src/module-vsbridge-indexer-catalog/Model/Indexer/DataProvider/Product/ConfigurableData.php b/src/module-vsbridge-indexer-catalog/Model/Indexer/DataProvider/Product/ConfigurableData.php index 7df31940..2c6c8b50 100644 --- a/src/module-vsbridge-indexer-catalog/Model/Indexer/DataProvider/Product/ConfigurableData.php +++ b/src/module-vsbridge-indexer-catalog/Model/Indexer/DataProvider/Product/ConfigurableData.php @@ -268,7 +268,7 @@ private function prepareConfigurableProduct(array $productDTO) } } - if (!empty($productDTO['stock']['is_in_stock']) || !$areChildInStock) { + if (empty($productDTO['stock']['is_in_stock']) || !$areChildInStock) { $productDTO['stock']['is_in_stock'] = false; $productDTO['stock']['stock_status'] = 0; }