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->displayBoth()):?>
15 <tr class="row-totals">
16  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>">
17  <?= /* @escapeNotVerified */ $block->getExcludeTaxLabel() ?>
18  </td>
19  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-amount">
20  <?= /* @escapeNotVerified */ $block->formatPrice($block->getShippingExcludeTax()) ?>
21  </td>
22 </tr>
23 <tr class="row-totals">
24  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>">
25  <?= /* @escapeNotVerified */ $block->getIncludeTaxLabel() ?>
26  </td>
27  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-amount">
28  <?= /* @escapeNotVerified */ $block->formatPrice($block->getShippingIncludeTax()) ?>
29  </td>
30 </tr>
31 <?php elseif ($block->displayIncludeTax()) : ?>
32 <tr>
33  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>">
34  <?= /* @escapeNotVerified */ $block->getTotal()->getTitle() ?>
35  </td>
36  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-amount">
37  <?= /* @escapeNotVerified */ $block->formatPrice($block->getShippingIncludeTax()) ?>
38  </td>
39 </tr>
40 <?php else:?>
41 <tr class="row-totals">
42  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>">
43  <?= $block->escapeHtml($block->getTotal()->getTitle()) ?>
44  </td>
45  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-amount">
46  <?= /* @escapeNotVerified */ $block->formatPrice($block->getShippingExcludeTax()) ?>
47  </td>
48 </tr>
49 <?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