File tree Expand file tree Collapse file tree 2 files changed +8
-1
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 +8
-1
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 echo $ block -> getSchema () ? ' itemprop="price" ' : '' ?> >
23
+ >
24
24
<?php /* @escapeNotVerified */ echo $ block ->formatCurrency ($ block ->getDisplayValue (), (bool )$ block ->getIncludeContainer ()) ?>
25
25
</span>
26
+ <span class="_hidden"<?php echo $ block ->getSchema () ? ' itemprop="price" ' : '' ?> >
27
+ <?php /* @escapeNotVerified */ echo $ block ->getDisplayValue () ?>
28
+ </span>
26
29
<?php if ($ block ->hasAdjustmentsHtml ()): ?>
27
30
<?php echo $ block ->getAdjustmentsHtml () ?>
28
31
<?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