Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
default.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
9 ?>
10 <?php $_item = $block->getItem() ?>
11 <tr>
12  <td class="col-product"><?= $block->getColumnHtml($_item, 'name') ?></td>
13  <td class="col-ordered-qty"><?= $block->getColumnHtml($_item, 'qty') ?></td>
14  <td class="col-qty <?php if ($block->isShipmentRegular()): ?>last<?php endif; ?>">
15  <?php if ($block->canShipPartiallyItem()): ?>
16  <input type="text"
17  class="input-text admin__control-text qty-item"
18  name="shipment[items][<?= /* @escapeNotVerified */ $_item->getOrderItemId() ?>]"
19  value="<?= /* @escapeNotVerified */ $_item->getQty()*1 ?>" />
20  <?php else: ?>
21  <?= /* @escapeNotVerified */ $_item->getQty()*1 ?>
22  <?php endif; ?>
23  </td>
24  <?php if (!$block->canShipPartiallyItem()): ?>
25  <td class="col-ship last">
26  <input type="hidden" name="shipment[items][<?= /* @escapeNotVerified */ $_item->getOrderItemId() ?>]" value="0" />
27  <input type="checkbox" name="shipment[items][<?= /* @escapeNotVerified */ $_item->getOrderItemId() ?>]" value="<?= /* @escapeNotVerified */ $_item->getQty()*1 ?>" checked />
28  </td>
29  <?php endif; ?>
30 </tr>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition: block.php:9
$block
Definition: block.php:8
$_item
Definition: default.phtml:11
if( $_item->getOrderItem() ->getParentItem())( $_item) ?><?php if( $_prevOptionId ! $_prevOptionId endif
Definition: default.phtml:41