We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f87cb85 commit 003d938Copy full SHA for 003d938
app/code/Magento/Review/view/frontend/templates/helper/summary.phtml
@@ -19,7 +19,9 @@ $urlForm = $block->getReviewsUrl() . '#review-form';
19
<?php if ($rating):?>
20
<div class="rating-summary">
21
<span class="label"><span><?= $block->escapeHtml(__('Rating')) ?>:</span></span>
22
- <div class="rating-result" title="<?= $block->escapeHtmlAttr($rating); ?>%">
+ <div class="rating-result"
23
+ id="rating-result_<?= $block->escapeHtmlAttr($block->getProduct()->getId()) ?>"
24
+ title="<?= $block->escapeHtmlAttr($rating); ?>%">
25
<span style="width:<?= $block->escapeHtmlAttr($rating); ?>%;">
26
<span>
27
<span itemprop="ratingValue"><?= $block->escapeHtml($rating); ?>
0 commit comments