Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Go to the source code of this file.
Variables | |
$optionValue | |
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager() | |
$productRepository = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class) | |
$product = $productRepository->get('simple') | |
$quote = $objectManager->create(\Magento\Quote\Model\Quote::class) | |
$quoteItemRepository = $objectManager->create(\Magento\Quote\Api\CartItemRepositoryInterface::class) | |
$cartItem = $objectManager->create(\Magento\Quote\Api\Data\CartItemInterface::class) | |
$productOption = $objectManager->create(\Magento\Quote\Model\Quote\ProductOptionFactory::class)->create() | |
$extensionAttributes = $objectManager->create(\Magento\Quote\Api\Data\ProductOptionExtensionFactory::class)->create() | |
$customOptionFactory = $objectManager->create(\Magento\Catalog\Model\CustomOptions\CustomOptionFactory::class) | |
$options = [] | |
$cartItem = $objectManager->create(\Magento\Quote\Api\Data\CartItemInterface::class) |
Definition at line 35 of file quote_with_product_and_custom_options.php.
$customOptionFactory = $objectManager->create(\Magento\Catalog\Model\CustomOptions\CustomOptionFactory::class) |
Definition at line 40 of file quote_with_product_and_custom_options.php.
$extensionAttributes = $objectManager->create(\Magento\Quote\Api\Data\ProductOptionExtensionFactory::class)->create() |
Definition at line 39 of file quote_with_product_and_custom_options.php.
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager() |
Definition at line 24 of file quote_with_product_and_custom_options.php.
$options = [] |
Definition at line 41 of file quote_with_product_and_custom_options.php.
$optionValue |
Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.
Definition at line 9 of file quote_with_product_and_custom_options.php.
$product = $productRepository->get('simple') |
Definition at line 28 of file quote_with_product_and_custom_options.php.
$productOption = $objectManager->create(\Magento\Quote\Model\Quote\ProductOptionFactory::class)->create() |
Definition at line 37 of file quote_with_product_and_custom_options.php.
$productRepository = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class) |
Definition at line 26 of file quote_with_product_and_custom_options.php.
$quote = $objectManager->create(\Magento\Quote\Model\Quote::class) |
Definition at line 31 of file quote_with_product_and_custom_options.php.
$quoteItemRepository = $objectManager->create(\Magento\Quote\Api\CartItemRepositoryInterface::class) |
Definition at line 33 of file quote_with_product_and_custom_options.php.