File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
app/code/Magento/Catalog/view/base/templates/product/price/amount Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 22
22
class="price-wrapper <?php /* @escapeNotVerified */ echo $ block ->getPriceWrapperCss (); ?> ">
23
23
<?php /* @noEscape */ echo $ block ->formatCurrency ($ block ->getDisplayValue (), (bool )$ block ->getIncludeContainer ()) ?>
24
24
</span>
25
- <span class="_hidden"<?php echo $ block ->getSchema () ? ' itemprop="price" ' : '' ?> >
26
- <?php /* @noEscape */ echo $ block ->getDisplayValue () ?>
27
- </span>
25
+ <?php if ($ block ->getSchema ()): ?>
26
+ <span class="_hidden" itemprop="price">
27
+ <?php /* @noEscape */ echo $ block ->getDisplayValue () ?>
28
+ </span>
29
+ <?php endif ; ?>
28
30
<?php if ($ block ->hasAdjustmentsHtml ()): ?>
29
31
<?php echo $ block ->getAdjustmentsHtml () ?>
30
32
<?php endif ; ?>
You can’t perform that action at this time.
0 commit comments