0

How do I remove the price metadata from a product/list page? For example, I have this on the product page:

<meta property="product:price:amount" content="100.75">

I want to remove it completely. I'm running Magento 2.3.6

1 Answer 1

1

See vendor/magento/module-catalog/view/frontend/templates/product/view/opengraph/general.phtml

You can overwrite this file in your custom theme or remove block opengraph.general with layout

References:

1
  • I added the override here. Works great! Thanks! app/design/frontend/../../Magento_Catalog/templates/product/view/opengraph/general.phtml
    – Wiggonator
    Commented Aug 3, 2022 at 18:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.