Skip to content

Commit d7f89ba

Browse files
committed
MAGETWO-70329: [GITHUB] The rich snippets are giving a warning for the element price #7173
1 parent bc1d4c7 commit d7f89ba

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/Catalog/view/base/templates/product/price/amount

1 file changed

+1
-2
lines changed

app/code/Magento/Catalog/view/base/templates/product/price/amount/default.phtml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
<?php echo($block->getPriceDisplayLabel()) ? 'data-label="' . $block->getPriceDisplayLabel() . $block->getPriceDisplayInclExclTaxes() . '"' : '' ?>
2020
data-price-amount="<?php /* @escapeNotVerified */ echo $block->getDisplayValue(); ?>"
2121
data-price-type="<?php /* @escapeNotVerified */ echo $block->getPriceType(); ?>"
22-
class="price-wrapper <?php /* @escapeNotVerified */ echo $block->getPriceWrapperCss(); ?>"
23-
>
22+
class="price-wrapper <?php /* @escapeNotVerified */ echo $block->getPriceWrapperCss(); ?>">
2423
<?php /* @noEscape */ echo $block->formatCurrency($block->getDisplayValue(), (bool)$block->getIncludeContainer()) ?>
2524
</span>
2625
<span class="_hidden"<?php echo $block->getSchema() ? ' itemprop="price"' : '' ?>>

0 commit comments

Comments
 (0)