publicfunction __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\CatalogInventory\Api\StockStateInterface $stockState, \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry ){ $this->storeManager = $storeManager; $this->stockState = $stockState; $this->stockRegistry = $stockRegistry; } public function getSalableQtyByPID($product) $websiteId = $this->storeManager->getStore()->getWebsiteId();…
Continue reading [Magento 2] Get Salable Qty By SKU
Comments closed