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-review
view
frontend
templates
detailed.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
10
?>
11
<?php
if
(!empty(
$collection
) &&
$collection
->getSize()): ?>
12
<div
class
=
"table-wrapper"
>
13
<table
class
=
"data table ratings review summary"
>
14
<caption
class
=
"table-caption"
><?=
$block
->escapeHtml(
__
(
'Ratings Review Summary'
)) ?></caption>
15
<tbody>
16
<?php
foreach
(
$collection
as $_rating): ?>
17
<?php
if
($_rating->getSummary()): ?>
18
<tr>
19
<th
class
=
"label"
scope=
"row"
><?=
$block
->escapeHtml(
__
($_rating->getRatingCode())) ?></th>
20
<td
class
=
"value"
>
21
<div
class
=
"rating box"
>
22
<div
class
=
"rating"
style=
"width:<?= /* @noEscape */ ceil($_rating->getSummary()) ?>%;"
></div>
23
</div>
24
</td>
25
</tr>
26
<?php
endif
; ?>
27
<?php
endforeach
; ?>
28
</tbody>
29
</table>
30
</div>
31
<?php
endif
; ?>
endforeach
$_iterator endforeach
Definition:
detailed.phtml:21
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8
endif
$_optionsforeach(array_reverse( $_options) as $_option)( $_rating->getVoteId() ? $_rating->getVoteId() :$_rating->getId()) ?>]" id endif
Definition:
detailed.phtml:19
$collection
$collection
Definition:
catalog_category_with_apostrophe_rollback.php:17