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 <div class="admin__table-wrapper">
11  <table class="data-table admin__table-primary order-shipment-table">
12  <thead>
13  <tr class="headings">
14  <th class="col-product"><span><?= /* @escapeNotVerified */ __('Product') ?></span></th>
15  <th class="col-qty last"><span><?= /* @escapeNotVerified */ __('Qty Shipped') ?></span></th>
16  </tr>
17  </thead>
18  <?php $_items = $block->getShipment()->getAllItems() ?>
19  <?php $_i = 0; foreach ($_items as $_item): if ($_item->getOrderItem()->getParentItem()): continue; endif; $_i++ ?>
20  <tbody class="<?= /* @escapeNotVerified */ $_i%2 ? 'odd' : 'even' ?>">
21  <?= $block->getItemHtml($_item) ?>
22  <?= $block->getItemExtraInfoHtml($_item->getOrderItem()) ?>
23  </tbody>
24  <?php endforeach; ?>
25  </table>
26 </div>
$_items $_i
Definition: items.phtml:41
if( $block->getQuote() ->hasVirtualItems())( 'Other items in your order') ?></strong >< a hrefforeach( $block->getVirtualQuoteItems() as $_item)(__( 'Product Name')) ?>"><? endforeach
Definition: items.phtml:31
$_items
Definition: items.phtml:27
__()
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