Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
subtotal.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
13 ?>
14 <?php if ($block->displayBoth()):?>
15 <tr class="totals sub excl">
16  <th style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>" scope="row">
17  <?= /* @escapeNotVerified */ __('Subtotal (Excl. Tax)') ?>
18  </th>
19  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="amount" data-th="<?= $block->escapeHtml(__('Subtotal (Excl. Tax)')) ?>">
20  <?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($block->getTotal()->getValueExclTax()) ?>
21  </td>
22 </tr>
23 <tr class="totals sub incl">
24  <th style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>" scope="row">
25  <?= /* @escapeNotVerified */ __('Subtotal (Incl. Tax)') ?>
26  </th>
27  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="amount" data-th="<?= $block->escapeHtml(__('Subtotal (Incl. Tax)')) ?>">
28  <?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($block->getTotal()->getValueInclTax()) ?>
29  </td>
30 </tr>
31 <?php else : ?>
32 <tr class="totals sub">
33  <th style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>" scope="row">
34  <?= /* @escapeNotVerified */ $block->getTotal()->getTitle() ?>
35  </th>
36  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="amount" data-th="<?= $block->escapeHtml($block->getTotal()->getTitle()) ?>">
37  <?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($block->getTotal()->getValue()) ?>
38  </td>
39 </tr>
40 <?php endif;?>
__()
Definition: __.php:13
$block
Definition: block.php:8
endif
Definition: 404.phtml:116