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-sales
view
frontend
templates
email
items
creditmemo
default.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
?>
10
<?php
$_item
=
$block
->getItem() ?>
11
<?php
$_order
=
$block
->getItem()->getOrder(); ?>
12
<tr>
13
<td
class
=
"item-info<?php if ($block->getItemOptions()): ?> has-extra<?php endif; ?>"
>
14
<p
class
=
"product-name"
><?=
$block
->escapeHtml(
$_item
->getName()) ?></p>
15
<p
class
=
"sku"
><?=
/* @escapeNotVerified */
__
(
'SKU'
) ?>: <?=
$block
->escapeHtml(
$block
->getSku(
$_item
)) ?></p>
16
<?php
if
(
$block
->getItemOptions()): ?>
17
<dl>
18
<?php
foreach
(
$block
->getItemOptions() as
$option
): ?>
19
<dt><strong><em><?=
/* @escapeNotVerified */
$option
[
'label'
] ?></em></strong></dt>
20
<dd>
21
<?=
/* @escapeNotVerified */
nl2br(
$option
[
'value'
]) ?>
22
</dd>
23
<?php
endforeach
; ?>
24
</dl>
25
<?php
endif
; ?>
26
<?php
$addInfoBlock
=
$block
->getProductAdditionalInformationBlock(); ?>
27
<?php
if
(
$addInfoBlock
) :?>
28
<?=
$addInfoBlock
->setItem(
$_item
->getOrderItem())->toHtml() ?>
29
<?php
endif
; ?>
30
<?=
$block
->escapeHtml(
$_item
->getDescription()) ?>
31
</td>
32
<td
class
=
"item-qty"
><?=
/* @escapeNotVerified */
$_item
->getQty() * 1 ?></td>
33
<td
class
=
"item-price"
>
34
<?=
/* @escapeNotVerified */
$block
->getItemPrice(
$_item
->getOrderItem()) ?>
35
</td>
36
</tr>
$option
$option
Definition:
default.phtml:8
$_order
$parentItem $_order
Definition:
default.phtml:12
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8
endforeach
endforeach
Definition:
default.phtml:72
$_item
$_item
Definition:
default.phtml:11
endif
if( $_item->getOrderItem() ->getParentItem())( $_item) ?><?php if( $_prevOptionId ! $_prevOptionId endif
Definition:
default.phtml:41
$addInfoBlock
$addInfoBlock
Definition:
default.phtml:63