Remove prices from Google

#570743
  • Resolved Anonymous
    Rank Math free

    Hello,
    We have a B2B store with hidden prices. But the prices of the products are visible in Google serp. Can we remove this asap in any way? Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Could you please share the affected product URL so we can check as well?

    Meanwhile, if you’re using WooCommerce Product Schema, then you can use and customize this filter to remove the price property in the schema and open graph tags (affects all products):

    add_filter( 'rank_math/woocommerce/og_price', '__return_false' );
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
        if ( isset( $entity['offers'] ) ) {
    		unset( $entity['offers'] );
    	}
        return $entity;
    } );
    

    Here’s how you can add a filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    However, please note that Price is a required field in the Product Schema. Hence, we do not recommend removing it:
    https://developers.google.com/search/docs/appearance/structured-data/product#product-information

    Looking forward to helping you.

    Thank you.

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    I don’t see any prices being visible in the website source code except in Twitter meta tag. Though it’s only for Slack sharing, I would recommend disabling this as well. To disable the twitter meta tags for price & availability please navigate to Rank Math > Titles & Meta > Products and toggle OFF the Slack Enhanced Sharing option.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thank you

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    The price in the product schema applied to your products are already removed. The only price shown in the metadata is the Twitter data like my colleague mentioned above.

    However, since those products are already indexed with prices, it will take time for Google to crawl your site again and remove the prices shown on the search results page.

    You can request the indexing of your products again by passing it through the URL Inspection Tool and request it there: https://developers.google.com/search/docs/crawling-indexing/ask-google-to-recrawl

    Hope that helps.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The ticket ‘Remove prices from Google’ is closed to new replies.