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
order
comments.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
?>
10
<?php
15
?>
16
<?php
if
(
$block
->hasComments()):?>
17
<div
class
=
"order additional details comments"
>
18
<h3
class
=
"subtitle"
><?=
/* @escapeNotVerified */
$block
->getTitle() ?></h3>
19
<dl
class
=
"order comments"
>
20
<?php
foreach
(
$block
->getComments() as $_commentItem): ?>
21
<dt
class
=
"comment date"
><?=
/* @escapeNotVerified */
$block
->formatDate($_commentItem->getCreatedAt(), \IntlDateFormatter::MEDIUM,
true
) ?></dt>
22
<dd
class
=
"comment text"
><?=
$block
->escapeHtml($_commentItem->getComment()) ?></dd>
23
<?php
endforeach
; ?>
24
</dl>
25
</div>
26
<?php
endif
;?>
endforeach
if( $block->hasComments())() ?></h3 >< dl class endforeach
Definition:
comments.phtml:22
$block
$block
Definition:
block.php:8
endif
endif
Definition:
comments.phtml:26