File tree 2 files changed +2
-10
lines changed
code/Magento/Catalog/view/base/templates/product/price/amount
design/frontend/Magento/luma/Magento_Catalog/web/css/source
2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 20
20
data-price-amount="<?php /* @escapeNotVerified */ echo $ block ->getDisplayValue (); ?> "
21
21
data-price-type="<?php /* @escapeNotVerified */ echo $ block ->getPriceType (); ?> "
22
22
class="price-wrapper <?php /* @escapeNotVerified */ echo $ block ->getPriceWrapperCss (); ?> ">
23
- <?php /* @noEscape */ echo $ block ->formatCurrency ($ block ->getDisplayValue (), (bool )$ block ->getIncludeContainer ()) ?>
23
+ <?php /* @escapeNotVerified */ echo $ block ->formatCurrency ($ block ->getDisplayValue (), (bool )$ block ->getIncludeContainer ()) ?>
24
24
</span>
25
- <?php if ($ block ->getSchema ()): ?>
26
- <span class="_hidden" itemprop="price">
27
- <?php /* @noEscape */ echo $ block ->getDisplayValue () ?>
28
- </span>
29
- <?php endif ; ?>
30
25
<?php if ($ block ->hasAdjustmentsHtml ()): ?>
31
26
<?php echo $ block ->getAdjustmentsHtml () ?>
32
27
<?php endif ; ?>
33
28
<?php if ($ block ->getSchema ()): ?>
29
+ <meta itemprop="price" content="<?php /* @escapeNotVerified */ echo $ block ->getDisplayValue (); ?> " />
34
30
<meta itemprop="priceCurrency" content="<?php /* @escapeNotVerified */ echo $ block ->getDisplayCurrencyCode ()?> " />
35
31
<?php endif ; ?>
36
32
</span>
Original file line number Diff line number Diff line change 189
189
& :last-child {
190
190
margin-bottom : 0 ;
191
191
}
192
-
193
- & ._hidden {
194
- display : none ;
195
- }
196
192
}
197
193
}
198
194
}
You can’t perform that action at this time.
0 commit comments