Hide ProductGroup and Product data per product in JSON-LD for SEO

Published: April 27, 2026

By Ilana Davis

It's assumed that all Shopify stores want their product data to be included in the structured data provided by JSON-LD for SEO. However, we know there is no such thing as a one-size fits all. 

And for that reason, it's important to have some flexibility for when product structured data is shown or not. 

By default, JSON-LD for SEO will include product markup on every product page. The only exception is with zero priced products

If you want to turn off the product markup provided by JSON-LD for SEO on some or all product pages, you can do that too!

NOTE: Turning off product markup will also disable review data. 

Disable product markup site wide

To disable product markup site wide so that JSON-LD for SEO provides NO product or review structured data, you can easily turn off the Product Markup setting in the app. 

Once logged into the app:

  1. Select Product from the top menu
  2. Select Show Product Data
  3. Uncheck the box for Show product markup
Screenshot of selecting the Product main menu and then Show Product Markup from the menu.
Screenshot of Product setting in JSON-LD for SEO with the Show product markup unchecked.

Disable product markup per product page

To disable product markup for individual products so that JSON-LD for SEO provides NO product or review structured data, you'll do this by setting a metafield.

Create a metafield

Use Shopify’s Metafields or your metafield tool of choice and add the author name for Blog Posts data.

Go to Settings -> Metafields and Metaobjects -> Product -> Add definition

  • Name: Whatever you want to call it. I used "Hide structured data"
  • namespace: jsonld
  • key: hide_product
  • type: true or false

NOTE: This must match exactly or it won't work. 

Click on the light grey text to modify the namespace and key. This is required for the data to work.
Change the namespace and key to match exactly jsonld.hide_product. Then set the type to True or false and select save.
Screenshot of metafield in Shopify showing the name is "Hide structured data" and the namesapce an key is set to "jsonld.hide_product" and the type is set to true or false.

Assign the value of the metafield to your product page

Now you'll want to tell us which product data you want to hide. 

Go to the product page you don't want product markup to show in the Shopify Admin. Scroll all the way to the bottom of the page and you should see Product Metafields

To hide the product markup for that product page, select the empty box and select True. 

Under Product Metafield, find the metafield you created, select the empty box and select TRUE.

SELECT SAVE

Scroll up to the top of your product page and select SAVE. 

Once saved, JSON-LD for SEO will no longer show product markup for that specific product page. 
Don’t forget to test the page after you’ve created the author structured data.
NOTE: Sometimes Shopify caches pages for up to 20 minutes and Google can cache (even though they say they don't) so you may need to check back later or the next day. But for us, the data is removed right away. 

JSON-LD for SEO

Get more organic search traffic from Google without having to fight for better rankings by utilizing search enhancements called Rich Results.

Back to top