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() | |
$product = $objectManager->create(Product::class) | |
$stockItem = $objectManager->create(StockItemInterface::class) | |
$extensionAttributes = $product->getExtensionAttributes() | |
$productRepository = $objectManager->get(ProductRepositoryInterface::class) | |
$extensionAttributes = $product->getExtensionAttributes() |
Definition at line 34 of file simple_product.php.
$objectManager = Bootstrap::getObjectManager() |
Definition at line 17 of file simple_product.php.
$product = $objectManager->create(Product::class) |
Definition at line 20 of file simple_product.php.
$productRepository = $objectManager->get(ProductRepositoryInterface::class) |
Definition at line 38 of file simple_product.php.
$stockItem = $objectManager->create(StockItemInterface::class) |
Definition at line 31 of file simple_product.php.