Removing of duplicate schema

Topic summary

Duplicate Product schema markup is appearing on product pages, causing misleading errors in Google’s Rich Results. One schema block is injected by the Booster SEO app (identified by its comment tags), and a second, untagged block appears to come from the theme.

Evidence was confirmed via Google’s Rich Results Test (link provided), which shows two Product JSON-LD entries. JSON-LD is the structured data format used by search engines for rich results.

Goal: remove the theme’s duplicate schema to prevent errors.

Guidance: the theme-generated JSON-LD is likely located near the opening in theme.liquid with product-only conditions, or inside the product template/snippet (e.g., main-product.liquid in Dawn-based themes). Exact locations vary by theme and customizations, and external access to identify it isn’t possible via the forum.

Status: unresolved. Next steps include inspecting and editing the indicated theme files to remove the duplicate schema. Additional context (store URL, theme name, specific product URLs) may be needed, or professional assistance can be sought.

Summarized with AI on December 19. AI used: gpt-5.

This my website, have some issue let me explain

Upon investigation, we’ve determined that the problematic schema markup causing the issue is actually coming from our theme directly. You can confirm this by checking any of your product URLs in Google’s Rich Results Test.

For this particular product I’ve chosen, you’ll notice that there are two sets of schema markups for Product Snippets. The first one is coming from booster seo app.

If you click on any of the available fields, you’ll see the actual source code of your site. The first schema markup is enclosed by booster seo comment tags, which serve as a watermark for booster seo app’s code.

On the other hand, if you examine the second set of schema markup, you’ll find it further down the source code, without any comment tags around it. This indicates that it’s most likely coming from our theme by default and not from another app

https://search.google.com/test/rich-results/result/r%2Fproduct?id=JlxbBEhuwJNj4Nd0ueyEcA

I want to remove the 2nd scheme coding from theme as i am seeing too many errors which are not actually there.

1 Like

Hi @shanky1155 :waving_hand: when it’s near the opening body tag and the duplicate JSON+LD only shows for products then it’s either in theme.liquid with conditions for products, or in product templates section snippet such as main-product.liquid for shopify’s dawn based themes, or similar.

Every theme, customizations, apps, and merchant store setup is different so actual source locations varies wildly and no one case access the theme code externally.

If you need theme repair/cusotmizations then contact me for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.