11 <div
class=
"table-wrapper order-items">
12 <table
class=
"data table table-order-items" id=
"my-orders-table" summary=
"<?= /* @escapeNotVerified */ __('Items Ordered') ?>">
13 <caption
class=
"table-caption"><?=
__(
'Items Ordered') ?></caption>
15 <?php
if(
$block->isPagerDisplayed()): ?>
17 <td colspan=
"5" data-block=
"order-items-pager-top" class=
"order-pager-wrapper order-pager-wrapper-top">
18 <?=
$block->getPagerHtml() ?>
23 <th
class=
"col name"><?=
__(
'Product Name') ?></th>
24 <th
class=
"col sku"><?=
__(
'SKU') ?></th>
25 <th
class=
"col price"><?=
__(
'Price') ?></th>
26 <th
class=
"col qty"><?=
__(
'Qty') ?></th>
27 <th
class=
"col subtotal"><?=
__(
'Subtotal') ?></th>
33 <?php
if (
$item->getParentItem())
continue; ?>
36 <?php
if ($this->helper(
'Magento\GiftMessage\Helper\Message')->isMessagesAllowed(
'order_item',
$item) &&
$item->getGiftMessageId()): ?>
37 <?php
$giftMessage = $this->helper(
'Magento\GiftMessage\Helper\Message')->getGiftMessageForEntity(
$item); ?>
39 <td
class=
"col options" colspan=
"5">
41 id=
"order-item-gift-message-link-<?= /* @escapeNotVerified */ $item->getId() ?>" 43 aria-controls=
"order-item-gift-message-<?= /* @escapeNotVerified */ $item->getId() ?>" 44 data-item-
id=
"<?= /* @escapeNotVerified */ $item->getId() ?>">
45 <?=
__(
'Gift Message') ?>
47 <?php
$giftMessage = $this->helper(
'Magento\GiftMessage\Helper\Message')->getGiftMessageForEntity(
$item); ?>
48 <div
class=
"order-gift-message" id=
"order-item-gift-message-<?= /* @escapeNotVerified */ $item->getId() ?>" role=
"region" aria-expanded=
"false" tabindex=
"-1">
50 title=
"<?= /* @escapeNotVerified */ __('Close') ?>" 51 aria-controls=
"order-item-gift-message-<?= /* @escapeNotVerified */ $item->getId() ?>" 52 data-item-
id=
"<?= /* @escapeNotVerified */ $item->getId() ?>" 56 <dl
class=
"item-options">
57 <dt
class=
"item-sender"><strong
class=
"label"><?=
__(
'From') ?></strong><?=
$block->escapeHtml(
$giftMessage->getSender()) ?></dt>
58 <dt
class=
"item-recipient"><strong
class=
"label"><?=
__(
'To') ?></strong><?=
$block->escapeHtml(
$giftMessage->getRecipient()) ?></dt>
59 <dd
class=
"item-message"><?= $this->helper(
'Magento\GiftMessage\Helper\Message')->getEscapedGiftMessage(
$item) ?></dd>
68 <?php
if(
$block->isPagerDisplayed()): ?>
70 <td colspan=
"5" data-block=
"order-items-pager-bottom" class=
"order-pager-wrapper order-pager-wrapper-bottom">
71 <?=
$block->getPagerHtml() ?>
75 <?=
$block->getChildHtml(
'order_totals') ?>
80 <script type=
"text/x-magento-init">
82 "a.action.show, a.action.close": {
if( $block->getQuote() ->hasVirtualItems())( 'Other items in your order') ?></strong >< a hrefforeach( $block->getVirtualQuoteItems() as $_item)(__( 'Product Name')) ?>"><? endforeach
if( $block->isPagerDisplayed())() ?></td ></tr ><?php endif ?>< tr >< th class $items
if( $type=='related' &&$canItemsAddToCart)( 'Check items to add to the cart or') ?>< button type endif