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

Go to the source code of this file.

Variables

 $productRepository
 
 $productLinkFactory
 
 $productIds = ['11', '22']
 
 $groupedProductInStock = Bootstrap::getObjectManager()->create(Product::class)
 
 $groupedProductOutOfStock = Bootstrap::getObjectManager()->create(Product::class)
 

Variable Documentation

◆ $groupedProductInStock

$groupedProductInStock = Bootstrap::getObjectManager()->create(Product::class)

Definition at line 44 of file default_stock_grouped_products.php.

◆ $groupedProductOutOfStock

$groupedProductOutOfStock = Bootstrap::getObjectManager()->create(Product::class)

Definition at line 73 of file default_stock_grouped_products.php.

◆ $productIds

$productIds = ['11', '22']

Definition at line 24 of file default_stock_grouped_products.php.

◆ $productLinkFactory

$productLinkFactory
Initial value:
= Bootstrap::getObjectManager()
->get(\Magento\Catalog\Api\Data\ProductLinkInterfaceFactory::class)

Definition at line 22 of file default_stock_grouped_products.php.

◆ $productRepository

$productRepository
Initial value:
= Bootstrap::getObjectManager()
->get(ProductRepositoryInterface::class)

Definition at line 19 of file default_stock_grouped_products.php.