• Resolved webb

    (@webnetyapi)


    Hi,
    How can I remove product price from all source code.
    Kindly Regards.

Viewing 1 replies (of 1 total)
  • Plugin Author Rank Math

    (@rankmath)

    Hello @webnetyapi,

    Thank you for contacting the support and sorry for not following up quickly and any inconvenience that might have been caused due to that.

    We add the Product price in opengraph and in the Product Schema.

    To remove the opengraph tag, you can use following filter code:
    add_filter( 'rank_math/opengraph/facebook/product_price_amount', '__return_false' );

    And in the Product Schema, price is a required field. So instead of removing the price, it would be better if you would remove the Product Schema completely by selecting None in Dashboard >> Rank Math >> Titles & Meta >> Product >> Schema type.

    Hope that helps.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.