Fizz SEO Schema

How do I fix duplicate Product schema on Shopify?

Last updated

Find every application/ld+json block on a product page, work out which one comes from the theme and which from an app, keep the more complete one and switch the other off: in the app's settings or embed if it's the app's, in the theme code if it's the theme's. Then retest in Google's Rich Results Test. Most duplicates come from a theme printing its own Product block while an SEO app or a review app prints a second.

Why does my Shopify store have two Product blocks?

Because the theme prints one and an app prints another.

Shopify's free themes print product data with the Liquid structured_data filter, which outputs "a schema.org Product if they have no variants and a ProductGroup if they have one or more variants" (Shopify: structured_data filter). Install a schema app or a review app that prints its own Product, and the page has two.

Merchants run into this a lot. On the Shopify Community, one wrote: "For all the products on our website, we have multiple schema markups", and "the one generated by the theme has multiple issues" (Shopify Community, April 2025). Another: "I want to remove the 2nd scheme coding from theme as i am seeing too many errors which are not actually there" (Shopify Community, September 2024).

Is duplicate schema actually a problem?

Not by itself, but two blocks that disagree make errors hard to trace.

Google can read several items on one page: "Google Search understands multiple items on a page, whether you nest the items or specify each item individually" (Google: structured data policies). The trouble is that two Product blocks for the same product rarely agree. One has the rating and the GTIN, the other doesn't; one lists every variant, the other one price. Search Console then reports errors for the weaker block, and you can't tell which one Google used. One complete block is easier to test and to trust.

How do I find every block on a page?

View the page source and search for application/ld+json.

  1. Open a product page and view its source.
  2. Search for application/ld+json. Note each block's @type: Product, ProductGroup, BreadcrumbList, Organization, WebSite, Article.
  3. Look just above each block for a clue: an HTML comment with an app's name, or a surrounding element with an app's class name. Blocks with no clue usually come from the theme.
  4. Do the same on a collection page, a blog post and the home page. Organization, WebSite and BreadcrumbList can be duplicated too.

Or paste the source into Google's Rich Results Test, or into our product schema checker, which flags more than one Product item on a page.

Where does each block come from?

The theme, an SEO or schema app, or a review app.

The theme

In Online Store → Themes → Edit code, search for structured_data and ld+json. The product block is often in sections/main-product.liquid; Organization and WebSite are often in layout/theme.liquid or a header section.

An SEO or schema app

Usually printed by an app embed (theme editor → App embeds), or by a snippet an older app pasted into the theme.

A review app

Many print their own Product block to carry the rating. Check the review app's SEO or rich snippet settings before uninstalling anything. In a Community thread about duplicate brand errors in Merchant Center, a merchant wrote: "For me, it was Judge.me, the review/rating app. As soon as I uninstalled it, the error was gone in Google Search Console" (Shopify Community, February 2024). Turning off that app's rich snippet option is gentler than uninstalling.

Which block should I keep?

The more complete one, whichever printed it.

Compare them in the Rich Results Test: which one has an offer per variant, availability, GTIN, brand and the rating? That's often the app built for the job, but not always. If the theme's block is complete and correct, keep it and turn the app's Product off.

How do I switch the other one off?

In the app's settings if it's an app's block; in the theme code if it's the theme's.

  • App blocks: use the app's own setting, or switch off its embed. That's reversible and survives theme updates.
  • Theme blocks: duplicate the theme first. Then remove or comment out the JSON-LD in the file you found, save and retest. Keep a note of the change: a theme update can bring it back, and if you later remove the app, you'll want the theme's markup again.
  • Leftovers from removed apps: apps that pasted snippets into older themes can leave them behind after uninstall. Search the theme code for the app's name.

How do I confirm it's fixed?

One item of each type per page in the Rich Results Test, then Validate fix in Search Console.

  1. Retest a product, a collection, a blog post and the home page in the Rich Results Test.
  2. In Search Console, open the affected report (Product snippets or Merchant listings) and click Validate fix so Google recrawls.
  3. Retest after the next theme update or new app.

Can an app find the duplicates for me?

Fizz SEO Schema finds the ones your theme prints; other apps' blocks you still check in the page source.

The slow part of this job is working out which file prints what. Fizz SEO Schema reads your live theme (read only) and lists the structured data it prints, with the file, for example sections/main-product.liquid ({{ product | structured_data }}). For each one it tells you either to switch that type off in its own embed or to remove the theme's copy, so you don't have to guess. Its embed then prints Product with an offer per variant, ratings from your review app, breadcrumbs, Organization, WebSite and BlogPosting.

It doesn't detect what other apps print through their own embeds, so check those in the page source as above. It's free to install while it launches. For what a complete block should contain, see how to add product schema to a Shopify store.