File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
code/Magento/Catalog/view/base/templates/product/price/amount
design/frontend/Magento/luma/Magento_Catalog/web/css/source Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 19
19
<?php echo ($ block ->getPriceDisplayLabel ()) ? 'data-label=" ' . $ block ->getPriceDisplayLabel () . $ block ->getPriceDisplayInclExclTaxes () . '" ' : '' ?>
20
20
data-price-amount="<?php /* @escapeNotVerified */ echo $ block ->getDisplayValue (); ?> "
21
21
data-price-type="<?php /* @escapeNotVerified */ echo $ block ->getPriceType (); ?> "
22
- class="price-wrapper <?php /* @escapeNotVerified */ echo $ block ->getPriceWrapperCss (); ?> "
23
- <?php echo $ block ->getSchema () ? ' itemprop="price" ' : '' ?> >
24
- <?php /* @escapeNotVerified */ echo $ block ->formatCurrency ($ block ->getDisplayValue (), (bool )$ block ->getIncludeContainer ()) ?>
22
+ class="price-wrapper <?php /* @escapeNotVerified */ echo $ block ->getPriceWrapperCss (); ?> ">
23
+ <?php /* @noEscape */ echo $ block ->formatCurrency ($ block ->getDisplayValue (), (bool )$ block ->getIncludeContainer ()) ?>
25
24
</span>
25
+ <?php if ($ block ->getSchema ()): ?>
26
+ <span class="_hidden" itemprop="price">
27
+ <?php /* @noEscape */ echo $ block ->getDisplayValue () ?>
28
+ </span>
29
+ <?php endif ; ?>
26
30
<?php if ($ block ->hasAdjustmentsHtml ()): ?>
27
31
<?php echo $ block ->getAdjustmentsHtml () ?>
28
32
<?php endif ; ?>
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
+ }
192
196
}
193
197
}
194
198
}
You can’t perform that action at this time.
0 commit comments