Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-downloadable
view
frontend
templates
email
order
items
creditmemo
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>
$_order
$_item $_order
Definition:
downloadable.phtml:12
__
__()
Definition:
__.php:13
endforeach
endforeach
Definition:
downloadable.phtml:56
$block
$block
Definition:
block.php:8
$link
$link
Definition:
quote_with_downloadable_product.php:27
$_item
$_item
Definition:
default.phtml:11
$links
$links
Definition:
downloadable_product_with_files_and_sample_url.php:39
$option
$option
Definition:
product_configurable_with_single_child.php:38
endif
if( $_isRequired) echo ' required _required' ?>"> <label classforeach($_links as $_link) ($_linksPurchasedSeparately) ( $_isRequired) endif
Definition:
downloadable.phtml:30