Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
$objectManager = Bootstrap::getObjectManager() | |
$productRepository = $objectManager->get(ProductRepositoryInterface::class) | |
$stockItemRepository = $objectManager->get(StockItemRepositoryInterface::class) | |
$skus = ['SKU-1', 'SKU-2', 'SKU-3'] | |
$objectManager = Bootstrap::getObjectManager() |
Definition at line 12 of file enable_manage_stock_for_products.php.
$productRepository = $objectManager->get(ProductRepositoryInterface::class) |
Definition at line 15 of file enable_manage_stock_for_products.php.
$skus = ['SKU-1', 'SKU-2', 'SKU-3'] |
Definition at line 18 of file enable_manage_stock_for_products.php.
$stockItemRepository = $objectManager->get(StockItemRepositoryInterface::class) |
Definition at line 16 of file enable_manage_stock_for_products.php.