Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
row.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
11 $_item = $block->getItem();
12 ?>
13 <?php if (($block->displayPriceInclTax() || $block->displayBothPrices()) && !$_item->getNoSubtotal()): ?>
14  <span class="price-including-tax" data-label="<?= $block->escapeHtml(__('Incl. Tax')) ?>">
15  <span class="cart-price">
16  <?= /* @escapeNotVerified */ $block->formatPrice($_item->getRowTotalInclTax()) ?>
17  </span>
18  </span>
19 <?php endif; ?>
20 
21 <?php if (($block->displayPriceExclTax() || $block->displayBothPrices()) && !$_item->getNoSubtotal()): ?>
22  <span class="price-excluding-tax" data-label="<?= $block->escapeHtml(__('Excl. Tax')) ?>">
23  <span class="cart-price">
24  <?= /* @escapeNotVerified */ $block->formatPrice($_item->getRowTotal()) ?>
25  </span>
26  </span>
27 <?php endif; ?>
$_item
Definition: row.phtml:11
if( $block->displayBothPrices()||$block->displayPriceExclTax())( $block->displayBothPrices())('Excl. Tax') ?> endif
Definition: row.phtml:21
$block
Definition: block.php:8