Skip to main content

How do I exclude products from JSON-LD?

Skip Product JSON-LD for products with a tag.

Written by Julia

If some products shouldn't have Product JSON-LD, like quote-only items without a public price, you can skip them with a product tag.

Step 1: Choose the tags in the theme editor

  1. Go to your Shopify admin → Online Store → Themes and click Customize.

  2. Open App embeds in the left sidebar and click Product JSON-LD.

  3. In Exclude products with tags, enter a tag, for example hide-json. To use more than one tag, separate them with commas.

  4. Click Save.

Step 2: Add the tag to your products

Go to your Shopify admin → Products, open the product and add the same tag. Capitalization doesn't matter, so Hide-JSON works too, but the rest of the tag must match exactly. For example, hide-json-ld won't skip a product if you entered hide-json.

To tag many products at once, select them in the product list, click ... and choose Add tags.

Products with any of these tags now get no Product JSON-LD from TinySEO, so no price, offers or review rating. Breadcrumb JSON-LD still runs on these pages. If your theme or another app adds its own Product JSON-LD, that stays on the page too.

To add the JSON-LD back, remove the tag from the product.

App embed settings are saved per theme. If you publish a new theme, enter your tags there again.

Did this answer your question?