Skip to content

Commit 5f2002e

Browse files
committed
Merge remote-tracking branch 'origin/MC-18071' into 2.3-develop-pr31
2 parents 5f8f726 + 84cf682 commit 5f2002e

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)