Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
downloadable.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
9 ?>
10 <?php ?>
11 <?php $_item = $block->getItem() ?>
12 <?php $_order = $block->getItem()->getOrder(); ?>
13 <tr>
14  <td class="item-info has-extra">
15  <p class="product-name"><?= $block->escapeHtml($_item->getName()) ?></p>
16  <p class="sku"><?= /* @escapeNotVerified */ __('SKU') ?>: <?= $block->escapeHtml($block->getSku($_item)) ?></p>
17  <?php if ($block->getItemOptions()): ?>
18  <dl>
19  <?php foreach ($block->getItemOptions() as $option): ?>
20  <dt><strong><em><?= /* @escapeNotVerified */ $option['label'] ?></em></strong></dt>
21  <dd><?= /* @escapeNotVerified */ $option['value'] ?></dd>
22  <?php endforeach; ?>
23  </dl>
24  <?php endif; ?>
25  <?php if ($links = $block->getLinks()->getPurchasedItems()): ?>
26  <dl>
27  <dt><strong><em><?= /* @escapeNotVerified */ $block->getLinksTitle() ?></em></strong></dt>
28  <?php foreach ($links as $link): ?>
29  <dd>
30  <?= $block->escapeHtml($link->getLinkTitle()) ?>
31  </dd>
32  <?php endforeach; ?>
33  </dl>
34  <?php endif; ?>
35  <?= $block->escapeHtml($_item->getDescription()) ?>
36  </td>
37  <td class="item-qty"><?= /* @escapeNotVerified */ $_item->getQty() * 1 ?></td>
38  <td class="item-price">
39  <?= /* @escapeNotVerified */ $block->getItemPrice($_item) ?>
40  </td>
41 </tr>
$_item $_order
__()
Definition: __.php:13
endforeach
$block
Definition: block.php:8
$_item
Definition: default.phtml:11
if( $_isRequired) echo ' required _required' ?>"> <label classforeach($_links as $_link) ($_linksPurchasedSeparately) ( $_isRequired) endif