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) | |
$addressData = include __DIR__ . '/address_data.php' | |
$billingAddress = $objectManager->create(Address::class, ['data' => $addressData]) | |
$shippingAddress = clone $billingAddress | |
$store | |
$quote = $objectManager->create(Quote::class) | |
$quoteRepository = $objectManager->get(CartRepositoryInterface::class) | |
$addressData = include __DIR__ . '/address_data.php' |
Definition at line 43 of file quote_with_new_customer.php.
$billingAddress = $objectManager->create(Address::class, ['data' => $addressData]) |
Definition at line 44 of file quote_with_new_customer.php.
$extensionAttributes = $product->getExtensionAttributes() |
Definition at line 36 of file quote_with_new_customer.php.
$objectManager = Bootstrap::getObjectManager() |
Definition at line 19 of file quote_with_new_customer.php.
$product = $objectManager->create(Product::class) |
Definition at line 22 of file quote_with_new_customer.php.
$productRepository = $objectManager->get(ProductRepositoryInterface::class) |
Definition at line 40 of file quote_with_new_customer.php.
$quote = $objectManager->create(Quote::class) |
Definition at line 56 of file quote_with_new_customer.php.
$quoteRepository = $objectManager->get(CartRepositoryInterface::class) |
Definition at line 73 of file quote_with_new_customer.php.
$shippingAddress = clone $billingAddress |
Definition at line 47 of file quote_with_new_customer.php.
$stockItem = $objectManager->create(StockItemInterface::class) |
Definition at line 33 of file quote_with_new_customer.php.
$store |
Definition at line 52 of file quote_with_new_customer.php.