Skip to content

Commit 53257cb

Browse files
MC-18071: Reviews not displaying on product page with "Product – Full Width" layout
1 parent e67ce21 commit 53257cb

File tree

1 file changed

+5
-3
lines changed
  • app/code/Magento/Review/view/frontend/templates/product/view

1 file changed

+5
-3
lines changed

app/code/Magento/Review/view/frontend/templates/product/view/list.phtml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ $format = $block->getDateFormat() ?: \IntlDateFormatter::SHORT;
1111
?>
1212
<?php if (count($_items)) : ?>
1313
<div class="block review-list" id="customer-reviews">
14-
<div class="block-title">
15-
<strong><?= $block->escapeHtml(__('Customer Reviews')) ?></strong>
16-
</div>
14+
<?php if (!$block->getHideTitle()): ?>
15+
<div class="block-title">
16+
<strong><?= $block->escapeHtml(__('Customer Reviews')) ?></strong>
17+
</div>
18+
<?php endif ?>
1719
<div class="block-content">
1820
<div class="toolbar review-toolbar">
1921
<?= $block->getChildHtml('toolbar') ?>

0 commit comments

Comments
 (0)