Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
items.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
9 ?>
10 <?php $_shipment = $block->getShipment() ?>
11 <?php $_order = $block->getOrder() ?>
12 <?php if ($_shipment && $_order): ?>
13  <table class="email-items">
14  <thead>
15  <tr>
16  <th class="item-info">
17  <?= /* @escapeNotVerified */ __('Items') ?>
18  </th>
19  <th class="item-qty">
20  <?= /* @escapeNotVerified */ __('Qty') ?>
21  </th>
22  </tr>
23  </thead>
24  <?php foreach ($_shipment->getAllItems() as $_item): ?>
25  <?php if (!$_item->getOrderItem()->getParentItem()) : ?>
26  <tbody>
27  <?= $block->getItemHtml($_item) ?>
28  </tbody>
29  <?php endif; ?>
30  <?php endforeach; ?>
31  </table>
32 <?php endif; ?>
if( $block->getQuote() ->hasVirtualItems())( 'Other items in your order') ?></strong >< a hrefforeach( $block->getVirtualQuoteItems() as $_item)(__( 'Product Name')) ?>"><? endforeach
Definition: items.phtml:31
$parentItem $_order
Definition: default.phtml:12
__()
Definition: __.php:13
$block
Definition: block.php:8
$_item
Definition: default.phtml:11
if( $type=='related' &&$canItemsAddToCart)( 'Check items to add to the cart or') ?>< button type endif
Definition: items.phtml:169