Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
shipping.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
13 ?>
14 <?php if ($block->displayShipping()):?>
15  <?php if ($block->displayBoth()):?>
16  <tr class="totals shipping excl">
17  <th style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>" scope="row">
18  <?= /* @escapeNotVerified */ $block->getExcludeTaxLabel() ?>
19  </th>
20  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="amount" data-th="<?= $block->escapeHtml($block->getExcludeTaxLabel()) ?>">
21  <?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($block->getShippingExcludeTax()) ?>
22  </td>
23  </tr>
24  <tr class="totals shipping incl">
25  <th style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>" scope="row">
26  <?= /* @escapeNotVerified */ $block->getIncludeTaxLabel() ?>
27  </th>
28  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="amount" data-th="<?= $block->escapeHtml($block->getIncludeTaxLabel()) ?>">
29  <?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($block->getShippingIncludeTax()) ?>
30  </td>
31  </tr>
32  <?php elseif ($block->displayIncludeTax()) : ?>
33  <tr class="totals shipping incl">
34  <th style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>" scope="row">
35  <?= /* @escapeNotVerified */ $block->getTotal()->getTitle() ?>
36  </th>
37  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="amount" data-th="<?= $block->escapeHtml($block->getTotal()->getTitle()) ?>">
38  <?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($block->getShippingIncludeTax()) ?>
39  </td>
40  </tr>
41  <?php else:?>
42  <tr class="totals shipping excl">
43  <th style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>" scope="row">
44  <?= $block->escapeHtml($block->getTotal()->getTitle()) ?>
45  </th>
46  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="amount" data-th="<?= $block->escapeHtml($block->getTotal()->getTitle()) ?>">
47  <?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($block->getShippingExcludeTax()) ?>
48  </td>
49  </tr>
50  <?php endif;?>
51 <?php endif; ?>
elseif(isset( $params[ 'redirect_parent']))
Definition: iframe.phtml:17
$block
Definition: block.php:8
if($this->helper('Magento\Tax\Helper\Data') ->displayShippingBothPrices() && $_incl !=$_excl) if( $this->helper( 'Magento\Tax\Helper\Data') ->displayShippingBothPrices() &&$_incl !=$_excl)( 'Excl. Tax') ?>"><? endif
Definition: shipping.phtml:69