46 if ($this->getZone() !== \
Magento\Framework\Pricing\Render::ZONE_ITEM_OPTION) {
47 $this->amountRender->setPriceDisplayLabel(
__(
'Incl. Tax'));
49 $this->amountRender->setPriceWrapperCss(
'price-including-tax');
50 $this->amountRender->setPriceId(
54 $this->amountRender->setDisplayValue(
57 if ($this->taxHelper->priceIncludesTax() && $this->amountRender->getPriceType() ==
'finalPrice') {
59 $this->amountRender->setPriceType(
'basePrice');
72 return \Magento\Tax\Pricing\Adjustment::ADJUSTMENT_CODE;
82 return $this->taxHelper->displayBothPrices();
95 if ($exclude ===
null) {
114 if ($exclude ===
null) {
118 return $this->amountRender->getAmount()->getValue($exclude);
150 $priceId = $this->getPriceId();
154 return $prefix . $priceId . $this->getIdSuffix();
164 return $this->taxHelper->displayPriceIncludingTax();
174 return $this->taxHelper->displayPriceExcludingTax();
elseif(isset( $params[ 'redirect_parent']))
getDisplayAmount($includeContainer=true)
getDisplayAmountExclTax($exclude=null, $includeContainer=false)
displayPriceIncludingTax()
__construct(Template\Context $context, PriceCurrencyInterface $priceCurrency, \Magento\Tax\Helper\Data $helper, array $data=[])
displayPriceExcludingTax()
buildIdWithPrefix($prefix)
getRawAmount($exclude=null)
formatCurrency( $amount, $includeContainer=true, $precision=PriceCurrencyInterface::DEFAULT_PRECISION)