While checking is_in_stock value of parent product
we should check following values ;.
mange_stock , use_config_manage_stock and store's cataloginventory/item_options/manage_stock value.
for unmanaged stocks getIsInStock should always return true, like magento does.
While checking is_in_stock value of parent product we should check following values ;. mange_stock , use_config_manage_stock and store's cataloginventory/item_options/manage_stock value.
for unmanaged stocks getIsInStock should always return true, like magento does.
\Magento\CatalogInventory\Model\Stock\Item::getIsInStock