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()); - } - } -} 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"/> -