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() | |
$registry = $objectManager->get(\Magento\Framework\Registry::class) | |
$productRepository | |
$productSkus = ['configurable_option_single_child', 'configurable_with_single_child'] | |
$searchCriteriaBuilder = Bootstrap::getObjectManager()->get(SearchCriteriaBuilder::class) | |
$result = $productRepository->getList($searchCriteriaBuilder->create()) | |
foreach ( $result->getItems() as $product) | |
$objectManager = Bootstrap::getObjectManager() |
Definition at line 12 of file product_configurable_with_single_child_rollback.php.
$productRepository |
Definition at line 21 of file product_configurable_with_single_child_rollback.php.
$productSkus = ['configurable_option_single_child', 'configurable_with_single_child'] |
Definition at line 24 of file product_configurable_with_single_child_rollback.php.
$registry = $objectManager->get(\Magento\Framework\Registry::class) |
Definition at line 15 of file product_configurable_with_single_child_rollback.php.
$result = $productRepository->getList($searchCriteriaBuilder->create()) |
Definition at line 28 of file product_configurable_with_single_child_rollback.php.
$searchCriteriaBuilder = Bootstrap::getObjectManager()->get(SearchCriteriaBuilder::class) |
Definition at line 26 of file product_configurable_with_single_child_rollback.php.
foreach($result->getItems() as $product) |
Definition at line 29 of file product_configurable_with_single_child_rollback.php.