details.phtml 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. // @codingStandardsIgnoreFile
  7. /**
  8. * @see \Magento\Paypal\Block\Express\Review\Details
  9. * @var \Magento\Paypal\Block\Express\Review\Details $block
  10. */
  11. ?>
  12. <div id="details-reload" class="table-wrapper order-items cart">
  13. <table id="details-table" class="cart items data table table-paypal-review-items">
  14. <caption class="table-caption"><?= $block->escapeHtml(__('Items in Your Shopping Cart')) ?></caption>
  15. <thead>
  16. <tr>
  17. <th class="col name" scope="col"><?= $block->escapeHtml(__('Item')) ?></th>
  18. <th class="col price" scope="col"><?= $block->escapeHtml(__('Price')) ?></th>
  19. <th class="col qty" scope="col"><?= $block->escapeHtml(__('Qty')) ?></th>
  20. <th class="col subtotal" scope="col"><?= $block->escapeHtml(__('Subtotal')) ?></th>
  21. </tr>
  22. </thead>
  23. <?php foreach ($block->getItems() as $item): ?>
  24. <?= $block->getItemHtml($item) ?>
  25. <?php endforeach ?>
  26. <tfoot class="opc-block-summary">
  27. <?= $block->getChildHtml('totals') ?>
  28. </tfoot>
  29. </table>
  30. </div>