Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
quote_with_item_message.php File Reference

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $product = $objectManager->create(\Magento\Catalog\Model\Product::class)
 
 $quoteProduct = $product->load($product->getIdBySku('simple_with_message'))
 
 $message = $objectManager->create(\Magento\GiftMessage\Model\Message::class)
 
 $quoteIdMask
 

Variable Documentation

◆ $message

$message = $objectManager->create(\Magento\GiftMessage\Model\Message::class)

Definition at line 41 of file quote_with_item_message.php.

◆ $objectManager

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 8 of file quote_with_item_message.php.

◆ $product

$product = $objectManager->create(\Magento\Catalog\Model\Product::class)

Definition at line 9 of file quote_with_item_message.php.

◆ $quoteIdMask

$quoteIdMask
Initial value:
->create(\Magento\Quote\Model\QuoteIdMaskFactory::class)
->create()

Definition at line 49 of file quote_with_item_message.php.

◆ $quoteProduct

$quoteProduct = $product->load($product->getIdBySku('simple_with_message'))

Definition at line 35 of file quote_with_item_message.php.