How do you remove pricing from google search?

Topic summary

A store owner using Shopify’s Dawn theme 15.2 has hidden product pricing on their website through custom code due to vendor restrictions, but prices still appear in Google search results.

Root Cause:
Google indexes pricing data from the page’s HTML source code and structured data (JSON-LD schema), even when hidden via CSS or JavaScript on the visible site.

Recommended Solutions:

  • Modify structured data: Remove or conditionally exclude price and offers fields from product JSON-LD in theme files (product.liquid, main-product.liquid, or product.json)
  • Request reindexing: Use Google Search Console to reindex updated pages or temporarily remove outdated results
  • Consider noindex meta tags: Prevent entire product pages from being indexed (use cautiously as it affects overall page visibility)
  • Set Shopify metafields: Use built-in options to hide specific pages from search engines

Important Considerations:

  • Removing price data may invalidate structured data and cause issues with Google Shopping feeds
  • Check for cached data from Shopify apps or old theme versions
  • One respondent suggests preventing indexing entirely for affected products rather than removing price data, to avoid technical conflicts
Summarized with AI on October 27. AI used: claude-sonnet-4-5-20250929.

Our website https://prohardwood.com has some products that we aren’t allowed to show pricing for on our website. We had custom code put in to hide the pricing on our site, but it still shows the pricing on google search. Is there a way to change this? We are using the Dawn theme 15.2.

1 Like

Hey! @ProHardwood ,

Yes, even if pricing is hidden on your website using custom code, Google may still index the original product prices if they are present in the page’s structured data (schema) or in the HTML source. To fix this, you should update the product structured data (JSON-LD) in your Dawn theme to remove or exclude the price and offers fields for products where pricing shouldn’t be shown. Also, make sure the hidden prices are not present in the HTML code, even if they are hidden with CSS or JavaScript. After making these changes, request a reindex of the affected pages in Google Search Console to update the search results.

Hi @ProHardwood

This is a common issue — even though the pricing is hidden on your live site via custom code, Google can still index that data if it exists in your page’s source code or structured data (JSON-LD).

Here are a few steps to help resolve this:

  1. Remove or Modify Pricing in Structured Data
    Shopify themes like Dawn include structured data (schema.org) that Google uses to generate rich results. You’ll want to check your product.liquid or main-product.liquid file (or product.json for sectioned themes) for any price-related JSON-LD and remove or conditionally hide it for those specific products.

  2. Use Meta Tags to Control Indexing
    If certain product pages shouldn’t show price at all, you can consider adding a tag to those specific pages. Be cautious with this as it will prevent the entire page from being indexed.

  3. Request URL Removal or Reindexing in Google Search Console
    After making the changes, you can use Google Search Console to:

    • Request reindexing of the updated pages.

    • Use the URL Removal Tool to temporarily hide outdated price info from search.

  4. Double-Check Caching or App Data
    Sometimes, Shopify apps or old theme versions may cache product data. Make sure there isn’t an app or leftover code still exposing pricing info.

If you’re unsure about editing theme code or structured data, let us know!

Keep in mind that price is a crucial part of product data for Google, structured data would be invalid without it.

Also, Google shopping feed (if you have it) takes data directly from the system, so removing price from HTML/structured data will only result in problems with Google.

I’d say you may as well prevent indexing of those product pages either manually, or by setting metafield https://help.shopify.com/en/manual/promoting-marketing/seo/hide-a-page-from-search-engines

@ProHardwood On my side, I prefer the two ways below to remove the pricing from my site on Google. Sharing here for your reference, and see if it works on your store:

  1. Carefully check the page content from the source code page with the help of developers and see if there are any elements containing price tags, then find out the related liquid file and remove it.

  2. See if my team end inserted price-related Google Structured Data content and remove the value of pricing in the code block, then let Google know my store changes immediately.

Usually, by practising like this, the price will not appear in Google Search anymore. You can have a try on your end. Thank you!