|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct (Context $context, StoreManagerInterface $storeManager, \Magento\Msrp\Model\Product\Options $productOptions, \Magento\Msrp\Model\Msrp $msrp, \Magento\Msrp\Model\Config $config, \Magento\Framework\Pricing\PriceCurrencyInterface $priceCurrency, ProductRepositoryInterface $productRepository) | |
| canApplyMsrp ($product, $visibility=null) | |
| getMsrpPriceMessage ($product) | |
| isShowPriceOnGesture ($product) | |
| isShowBeforeOrderConfirm ($product) | |
| isMinimalPriceLessMsrp ($product) | |
Public Member Functions inherited from AbstractHelper | |
| __construct (Context $context) | |
| isModuleOutputEnabled ($moduleName=null) | |
Protected Attributes | |
| $storeManager | |
| $productOptions | |
| $config | |
| $priceCurrency | |
| $productRepository | |
Protected Attributes inherited from AbstractHelper | |
| $_moduleName | |
| $_request | |
| $_moduleManager | |
| $_logger | |
| $_urlBuilder | |
| $_httpHeader | |
| $_eventManager | |
| $_remoteAddress | |
| $urlEncoder | |
| $urlDecoder | |
| $scopeConfig | |
| $_cacheConfig | |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractHelper | |
| _getRequest () | |
| _getModuleName () | |
| _getUrl ($route, $params=[]) | |
| __construct | ( | Context | $context, |
| StoreManagerInterface | $storeManager, | ||
| \Magento\Msrp\Model\Product\Options | $productOptions, | ||
| \Magento\Msrp\Model\Msrp | $msrp, | ||
| \Magento\Msrp\Model\Config | $config, | ||
| \Magento\Framework\Pricing\PriceCurrencyInterface | $priceCurrency, | ||
| ProductRepositoryInterface | $productRepository | ||
| ) |
| Context | $context | |
| StoreManagerInterface | $storeManager | |
| \Magento\Msrp\Model\Product\Options | $productOptions | |
| \Magento\Msrp\Model\Msrp | $msrp | |
| \Magento\Msrp\Model\Config | $config | |
| \Magento\Framework\Pricing\PriceCurrencyInterface | $priceCurrency | |
| ProductRepositoryInterface | $productRepository |
Definition at line 54 of file Data.php.
| canApplyMsrp | ( | $product, | |
$visibility = null |
|||
| ) |
Check if can apply Minimum Advertise price to product in specific visibility
| int | Product | $product | |
| int | null | $visibility | Check displaying price in concrete place (by default generally) |
@SuppressWarnings(PHPMD.CyclomaticComplexity)
| getMsrpPriceMessage | ( | $product | ) |
| isMinimalPriceLessMsrp | ( | $product | ) |
| int | Product | $product |
| isShowBeforeOrderConfirm | ( | $product | ) |
| int | Product | $product |
Definition at line 141 of file Data.php.
| isShowPriceOnGesture | ( | $product | ) |
Check is product need gesture to show price
| int | Product | $product |
Definition at line 132 of file Data.php.