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 ?>
11 <?php $_item = $block->getItem() ?>
12 <?php $block->setPriceDataObject($_item); ?>
13 <tr>
14  <td class="col-product"><?= $block->getColumnHtml($_item, 'name') ?></td>
15  <td class="col-price">
16  <?= $block->getColumnHtml($_item, 'price') ?>
17  </td>
18  <td class="col-ordered-qty"><?= $block->getColumnHtml($_item, 'qty') ?></td>
19  <?php if ($block->canParentReturnToStock($_item)) : ?>
20  <td class="col-return-to-stock">
21  <?php if ($block->canReturnItemToStock($_item)) : ?>
22  <input type="checkbox"
23  class="admin__control-checkbox"
24  name="creditmemo[items][<?= /* @escapeNotVerified */ $_item->getOrderItemId() ?>][back_to_stock]"
25  value="1"<?php if ($_item->getBackToStock()):?> checked<?php endif;?>/>
26  <label class="admin__field-label"></label>
27  <?php endif; ?>
28  </td>
29  <?php endif; ?>
30  <td class="col-refund col-qty">
31  <?php if ($block->canEditQty()) : ?>
32  <input type="text"
33  class="input-text admin__control-text qty-input"
34  name="creditmemo[items][<?= /* @escapeNotVerified */ $_item->getOrderItemId() ?>][qty]"
35  value="<?= /* @escapeNotVerified */ $_item->getQty()*1 ?>"/>
36  <?php else : ?>
37  <?= /* @escapeNotVerified */ $_item->getQty()*1 ?>
38  <?php endif; ?>
39  </td>
40  <td class="col-subtotal">
41  <?= $block->getColumnHtml($_item, 'subtotal') ?>
42  </td>
43  <td class="col-tax-amount"><?= /* @escapeNotVerified */ $block->displayPriceAttribute('tax_amount') ?></td>
44  <td class="col-discont"><?= /* @escapeNotVerified */ $block->displayPriceAttribute('discount_amount') ?></td>
45  <td class="col-total last">
46  <?= $block->getColumnHtml($_item, 'total') ?>
47  </td>
48 </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