diff --git a/InventoryCatalog/Plugin/CatalogInventory/Api/StockRegistry/AdaptUpdateStockStatusBySkuPlugin.php b/InventoryCatalog/Plugin/CatalogInventory/Api/StockRegistry/AdaptUpdateStockStatusBySkuPlugin.php index 7fc15f739bb..0da383f89ce 100644 --- a/InventoryCatalog/Plugin/CatalogInventory/Api/StockRegistry/AdaptUpdateStockStatusBySkuPlugin.php +++ b/InventoryCatalog/Plugin/CatalogInventory/Api/StockRegistry/AdaptUpdateStockStatusBySkuPlugin.php @@ -96,10 +96,8 @@ public function afterUpdateStockItemBySku( $productType = $this->getProductTypesBySkus->execute([$productSku])[$productSku]; $stockItemConfiguration = $this->getStockItemConfiguration->execute($productSku, Stock::DEFAULT_STOCK_ID); - if ($stockItemConfiguration->isManageStock() === false - && $stockItemConfiguration->isUseConfigManageStock() === false - ) { - $this->setDataToLegacyStockStatus->execute($productSku, (float)$updatedStockItem->getQty(), 1); + if ($stockItemConfiguration->isManageStock() === false) { + $this->setDataToLegacyStockStatus->execute($productSku, (float)$updatedStockItem->getQty(), 1); } else { if ($this->isSourceItemManagementAllowedForProductType->execute($productType) && $updatedStockItem->getQty() !== null