Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
totals.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
12 ?>
13 <?php if ($block->getTotals()): ?>
14  <?php $_colspan = 3; ?>
15  <?= /* @escapeNotVerified */ $block->renderTotals(null, $_colspan) ?>
16  <?= /* @escapeNotVerified */ $block->renderTotals('footer', $_colspan) ?>
17  <?php if ($block->needDisplayBaseGrandtotal()):?>
18  <tr class="totals charge">
19  <th class="mark" colspan="<?= /* @escapeNotVerified */ $_colspan ?>" scope="row">
20  <?= /* @escapeNotVerified */ __('Your credit card will be charged for') ?>
21  </th>
22  <td class="amount" data-th="<?= $block->escapeHtml(__('Your credit card will be charged for')) ?>">
23  <?= /* @escapeNotVerified */ $block->displayBaseGrandtotal() ?>
24  </td>
25  </tr>
26  <?php endif?>
27 <?php endif; ?>
if($block->getTotals()) if( $block->needDisplayBaseGrandtotal())( 'Your credit card will be charged for') ?></th >< td class endif endif
Definition: totals.phtml:17
$_colspan
Definition: array.phtml:13
__()
Definition: __.php:13
$block
Definition: block.php:8