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

Go to the source code of this file.

Variables

 $item = $block->getItem()
 
if( $block->displayPriceInclTax()||$block->displayBothPrices())(__('Incl. Tax')) ?>"> <?php if ($block -> displayPriceWithWeeeDetails()): ?> <span class="cart-tax-total" data-mage-init=' Magento Weee Helper Data Magento Weee Helper Data title amount_incl_tax
 
 endif
 
if( $block->displayPriceExclTax()||$block->displayBothPrices())(__('Excl. Tax')) ?>"> <?php if ($block -> displayPriceWithWeeeDetails()): ?> <span class="cart-tax-total" data-mage-init=' Magento Weee Helper Data Magento Weee Helper Data title amount
 

Variable Documentation

◆ $item

$item = $block->getItem()

Definition at line 11 of file unit.phtml.

◆ amount

if ($block->displayPriceExclTax() || $block->displayBothPrices()) (__( 'Excl. Tax')) ?>"> <?php if ($block -> displayPriceWithWeeeDetails()): ?> <span class="cart-tax-total" data-mage-init=' Magento Weee Helper Data Magento Weee Helper Data title amount
Initial value:
{"taxToggle": {"itemTaxId" : "#eunit-item-tax-details<?= /* @escapeNotVerified */ $item->getId() ?>"}}'>
<span class="weee" data-label="<?= $block->escapeHtml(__('Total')) ?>">
<?= /* @escapeNotVerified */ $block->formatPrice($block->getFinalUnitDisplayPriceExclTax()) ?>
</span>
</span>
<?php endif

Definition at line 68 of file unit.phtml.

◆ amount_incl_tax

if ($block->displayPriceInclTax() || $block->displayBothPrices()) (__( 'Incl. Tax')) ?>"> <?php if ($block -> displayPriceWithWeeeDetails()): ?> <span class="cart-tax-total" data-mage-init=' Magento Weee Helper Data Magento Weee Helper Data title amount_incl_tax
Initial value:
{"taxToggle": {"itemTaxId" : "#unit-item-tax-details<?= /* @escapeNotVerified */ $item->getId() ?>"}}'>
<span class="weee" data-label="<?= $block->escapeHtml(__('Total Incl. Tax')) ?>">
<?= /* @escapeNotVerified */ $block->formatPrice($block->getFinalUnitDisplayPriceInclTax()) ?>
</span>
</span>
<?php endif

Definition at line 35 of file unit.phtml.

◆ endif

endif

Definition at line 41 of file unit.phtml.