Skip to main content
Duplicate Shopify product markup? Trace the theme and app output
Technical SEO

Duplicate Shopify product markup? Trace the theme and app output

A rich results test finds two Product items. Trace whether the published Shopify theme, an active app extension, or leftover theme code emits the same product entity.

Matthias RamahiMatthias Ramahi
9 min readDecember 2, 2026Legacy score: 95/100

The Rich Results Test reports two Product items on a Shopify product page. That is a reason to inspect the output. It does not prove that two apps are duplicating each other, or that Google will demote the page. The useful question is whether both items describe the same product with overlapping or conflicting values, and which component emits each block.

Shopify themes can write product data into the page HTML. Apps can add code through theme app extensions. A theme can also retain legacy code after an app is removed if that earlier integration modified theme files. Only the rendered product page shows which of those possibilities applies to a specific store.

This guide looks at one product page and the origin of its Product markup. It does not cover product-variant URL strategy or recommend a particular SEO app. A rich-results finding is a prompt to investigate, not an instruction to remove markup automatically.

What counts as duplicate product markup?

A page can contain multiple structured items that describe different things. Product describes a product; BreadcrumbList describes its path; Organization describes the business. Those types can coexist without being duplicate Product items. Google supports multiple items on a page when they describe distinct visible content or relationships. Google's Product structured data documentation covers product-page data. Its general policies explain how multiple applicable items can coexist. If the term is unfamiliar, the structured data glossary defines the broader concept.

More than one Product entity can also be intentional variant markup. Google documents a ProductGroup with associated Product variants connected using hasVariant or isVariantOf. Before calling them duplicate output, check whether their variant attributes differ and the parent relationship is coherent. That is separate from two theme or app components emitting the same product entity. Google's product variant guidance shows these relationships.

The investigation becomes more specific when multiple Product blocks appear to describe the same product. Compare several fields rather than counting blocks alone:

SignalWhat the comparison can tell you
url and nameWhether both blocks point to the same product page and visible item
sku, GTIN or brandWhether their data identifies the same product
offers.price and availabilityWhether one source emits stale or conflicting offer data
@idWhether the blocks use separate identifiers or reuse one
Position in the HTMLWhether a block is in the initial document or appears after JavaScript runs

This is a diagnostic comparison, not a published Google rule that matching values will always be merged or treated as an error. For example, the HTML might contain two Product objects with the same URL and SKU, but one says €24.90 and the other €29.90. That is a concrete data conflict to trace to a generator. Two identical blocks are also evidence of repeated output. Neither observation alone proves a ranking effect. This differs from duplicate page content, which is a URL and content question.

Where Shopify can emit product markup

Start with the published theme. In Shopify's reference theme Dawn, the product section outputs JSON-LD by applying the Liquid structured_data filter to the product object. That does not mean every Shopify theme uses the same file or implementation. It does explain why the product template and its included snippets are sensible first places to inspect. Search the active theme for structured_data, application/ld+json, schema.org/Product and "@type": "Product".

The Dawn product section is one concrete example. In another theme, output could sit in theme.liquid, a product section, a snippet or a custom Liquid file. Inspect the theme copy that is actually published. An unused preview can have a different code and app state. For the broader context of ecommerce SEO, the origin of each product field matters as much as the field's final value.

Next, check active theme app extensions. Shopify describes app blocks and app embeds as ways to extend themes. App embeds can output code in the head or body; Shopify lists SEO metadata as one possible use. That does not establish that a particular embed outputs product markup. It does make an active extension worth checking. Shopify's theme app extension configuration explains where blocks are placed and that merchants activate them in the theme editor.

Another possible source is older code. Earlier app integrations could change theme files. Shopify's migration guide for theme app extensions documents how traditional integrations changed theme files and that those changes can remain after an app is removed. A recently uninstalled app may therefore leave a snippet or call behind. Check theme files, not only the current app list.

A related storefront change has a fixed date. Since October 1, 2026, apps can no longer create or update ScriptTags; on March 1, 2027, Shopify will stop injecting existing tags with the online_store display scope into storefronts. That changes how an app's JavaScript is loaded. It does not identify or automatically remove duplicate Product markup emitted by a theme or app embed. Check current rendered HTML and any replacement integration separately. See Shopify's ScriptTag deprecation timeline.

Finally, JavaScript can add JSON-LD after the initial HTML arrives. Google's guide to JavaScript-generated structured data documents this pattern and recommends testing a URL in the Rich Results Test because its code-input mode has JavaScript limitations. The initial source and the DOM after scripts run answer different questions.

Capture a reliable starting point

Choose a public product URL served by the published theme. Record its final URL after redirects, response status and the time of the check. Do not use the theme-editor preview as a stand-in for the live route; preview parameters, unpublished changes or a different app setup can change what it renders.

Save two views:

  1. The HTML returned for the product document, using “View page source” or the document request in the browser's network panel.
  2. The DOM after the page has loaded and JavaScript has run.

In both views, look for JSON-LD script blocks and for Product markup in Microdata or RDFa. Google supports JSON-LD, Microdata and RDFa; its introduction to structured data describes the supported formats. Searching only for <script type="application/ld+json"> can miss a second block in another format.

The Rich Results Test can check a URL for Google-supported result features. It is not a replacement for comparing the HTML output; a generic Schema Markup Validator may be more suitable for other schema.org markup. Keep the tool output and HTML excerpts before switching anything off. Without that baseline, it is hard to tell whether a later change actually removed the extra output.

A short record might look like this:

CheckDocument HTMLDOM after JavaScript
Number of Product blocks12
Second source visibleNoYes
Values of both blocksNot foundSame URL and SKU, different price
Rich Results TestURL is fetchedSave the detected product data

This points to output added after the initial document. It does not identify which app or script is responsible. The test suggests where to look next; it does not name the component.

Isolate the source with a controlled test

Check components in the order they can enter the page:

  1. Theme files: Search the published theme for the markup terms above. Open the product section and the snippets it includes. Look for direct JSON-LD and for generic functions that include it.
  2. App embeds and app blocks: In the theme editor, check which extensions are active on the published theme. An installed app is not necessarily active; an embed can remain active after its purpose is forgotten.
  3. Leftover code: Search for former app names, snippets and extra script calls. An empty app list does not automatically clean theme files.
  4. Scripts that run later: If a Product block appears only in the DOM, inspect loaded scripts and later insertions. Compare the document request with the page after it finishes loading.

The safest way to prove a cause is to use an unpublished copy of the theme. In that copy, disable exactly one suspected extension or remove one clearly attributed test call. Load the same product URL again and compare the number, source and values of the markup. If only the suspected block disappears, you have isolated a cause. If it remains, restore the test copy and check the next source.

Do not change theme code and several apps at the same time. If a block disappears afterward, you will not know which change did it. Do not switch off all product markup as a precaution either: the visible product page may still work while its structured product description disappears. A technical audit should record both source and page output; Crawl Foundry's guide to an SEO audit describes the broader inspection principle.

Remove only a confirmed duplicate

If the test confirms that the theme and an app both emit the same product entity, decide which component should own that output going forward. Remove only the confirmed second source. Then check the visible price, availability, product name and URL again. Google requires structured data to represent the content users can see. Its general structured data policies warn against markup that does not match the page's visible content.

Keep independent entries such as BreadcrumbList or Organization when they describe their own information. Removing an extra Product block is not a reason to delete every schema item on the page. A canonical URL is not a tool for removing duplicate JSON-LD either. A canonical names the preferred URL among similar or duplicate pages; it does not fix one page that emits the same entity more than once. If both issues appear, check the canonical tag as a separate URL question. Duplicate page content and structured data describe different problems.

After a change, test one URL that uses the relevant product template. Then inspect other product pages if they use different templates or app settings. Passing one sample does not prove that every product page has the same markup. The Site Audit feature overview is the relevant technical SEO context for this type of check.

What the tools can show, and what remains unknown

The Rich Results Test can show which supported data Google detects when it tests a URL. Search Console reports can show errors or valid items for supported result features after Google crawls the pages. Neither one automatically tells you which theme or app emitted a block. That attribution comes from comparing the source code, app activation and the controlled test.

A clean test also does not guarantee a rich result in Search. Google uses other criteria to decide whether a result should receive a particular treatment. A markup finding is not direct evidence of a ranking loss either. If you want to measure the effect of a theme change, keep the markup check separate from later search performance. Check the later indexing of the page separately from the test result. The guide on JavaScript changing a canonical uses a similar evidence principle for server HTML and later rendering.

A short investigation order

  1. Record the product URL and the active theme.
  2. Save initial HTML and the DOM after JavaScript separately.
  3. Compare every Product block and its product fields.
  4. Inspect theme output, active extensions and leftover code independently.
  5. Test one source at a time in an unpublished theme copy.
  6. Remove only the confirmed repeated output and retest the same URL.
  7. Keep Rich Results Test and later Search Console reports as separate evidence.

That turns “the test shows two items” into a traceable diagnosis. The key evidence is not the number on the test screen; it is the connection between a Product block, its source and the product data users can see.

Tags

Site audit

Crawl, structured data, internal links and performance in a single run.

Open Site audit
Matthias Ramahi

Matthias Ramahi

Founder, Crawl Foundry

SEOKeyword ResearchTechnical SEO

Matthias Ramahi is the founder of Crawl Foundry and leads the product, its data sources, and its editorial standards. Crawl Foundry is his central software and SEO project.

Prefer Crawl Foundry on Google

Add crawlfoundry.com as a preferred source in your Google account and our articles will appear higher up on Google. Optional, and you can undo it at any time.

Set as preferred source

You Might Also Like

Search this website

Find product information, FAQ and documentation with links to the original pages.