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

Go to the source code of this file.

Variables

 $objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()
 
 $tierPrices = []
 
 $tierPriceFactory = $objectManager->get(\Magento\Catalog\Api\Data\ProductTierPriceInterfaceFactory::class)
 
 $tierPrices []
 
 $tpExtensionAttributesFactory = $objectManager->create(ProductTierPriceExtensionFactory::class)
 
 $tpExtensionAttributes = $tpExtensionAttributesFactory->create()->setPercentageValue(50)
 
 $product = $objectManager->create(\Magento\Catalog\Model\Product::class)
 
 $productRepositoryFactory = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class)
 

Variable Documentation

◆ $objectManager

Definition at line 12 of file product_has_tier_price_show_as_low_as.php.

◆ $product

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

Definition at line 59 of file product_has_tier_price_show_as_low_as.php.

◆ $productRepositoryFactory

$productRepositoryFactory = $objectManager->create(\Magento\Catalog\Api\ProductRepositoryInterface::class)

Definition at line 87 of file product_has_tier_price_show_as_low_as.php.

◆ $tierPriceFactory

$tierPriceFactory = $objectManager->get(\Magento\Catalog\Api\Data\ProductTierPriceInterfaceFactory::class)

Definition at line 16 of file product_has_tier_price_show_as_low_as.php.

◆ $tierPrices [1/2]

$tierPrices = []

Definition at line 14 of file product_has_tier_price_show_as_low_as.php.

◆ $tierPrices [2/2]

$tierPrices[]
Initial value:
[
'data' => [
'customer_group_id' => \Magento\Customer\Model\Group::CUST_GROUP_ALL,
'qty' => 2,
'value' => 8
]
]
)

Definition at line 17 of file product_has_tier_price_show_as_low_as.php.

◆ $tpExtensionAttributes

$tpExtensionAttributes = $tpExtensionAttributesFactory->create()->setPercentageValue(50)

Definition at line 47 of file product_has_tier_price_show_as_low_as.php.

◆ $tpExtensionAttributesFactory

$tpExtensionAttributesFactory = $objectManager->create(ProductTierPriceExtensionFactory::class)

Definition at line 46 of file product_has_tier_price_show_as_low_as.php.