From 749d909c9a0ba1a6b907062630117936585516a7 Mon Sep 17 00:00:00 2001 From: Thomas Klein Date: Mon, 28 Jul 2025 13:49:46 +0200 Subject: [PATCH 1/2] Remove unnecessary preference --- etc/di.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/etc/di.xml b/etc/di.xml index bb2d1ab..48af227 100644 --- a/etc/di.xml +++ b/etc/di.xml @@ -21,6 +21,5 @@ type="Algolia\AlgoliaSearchInventory\Plugin\Service\Product\RecordBuilderPlugin"/> - From fca430a66fa6a978d7a0eb25fe00d512a67db964 Mon Sep 17 00:00:00 2001 From: Thomas KLEIN Date: Mon, 28 Jul 2025 13:52:25 +0200 Subject: [PATCH 2/2] Already handled by pluging adapt_add_stock_data_to_collection --- Helper/InventoryProductHelper.php | 90 ------------------------------- 1 file changed, 90 deletions(-) delete mode 100644 Helper/InventoryProductHelper.php diff --git a/Helper/InventoryProductHelper.php b/Helper/InventoryProductHelper.php deleted file mode 100644 index 1f4a0a5..0000000 --- a/Helper/InventoryProductHelper.php +++ /dev/null @@ -1,90 +0,0 @@ -addStockDataToCollection->execute( - $products, - !$this->configHelper->getShowOutOfStock($storeId), - $this->localStockHelper->getStockId($storeId) - ); - } catch (LocalizedException $e) { - $this->logger->error("Error applying MSI stock filter:" . $e->getMessage()); - } - } -}