File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
app/code/Magento/Catalog/view/frontend/templates/product/view/opengraph Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1515<meta property="og:description"
1616 content="<?= $ block ->escapeHtmlAttr ($ block ->stripTags ($ block ->getProduct ()->getShortDescription ())) ?> " />
1717<meta property="og:url" content="<?= $ block ->escapeUrl ($ block ->getProduct ()->getProductUrl ()) ?> " />
18- <?php if ($ priceAmount = $ block ->getProduct ()->getPriceInfo ()->getPrice (\Magento \Catalog \Pricing \Price \FinalPrice::PRICE_CODE )->getAmount ()) :?>
18+ <?php if ($ priceAmount = $ block ->getProduct ()
19+ ->getPriceInfo ()
20+ ->getPrice (\Magento \Catalog \Pricing \Price \FinalPrice::PRICE_CODE )
21+ ->getAmount ()):?>
1922 <meta property="product:price:amount" content="<?= $ block ->escapeHtmlAttr ($ priceAmount ) ?> "/>
2023 <?= $ block ->getChildHtml ('meta.currency ' ) ?>
2124<?php endif ;?>
You can’t perform that action at this time.
0 commit comments