Commerce Guide

Shopify

Shopify Structured Data: Find Duplicate Product Markup and Validate It

Find Shopify schema owners, compare product and variant facts, resolve conflicting markup and validate the deployed product pages.

Topic: ShopifyBy SearchGlint Editorial Team4 min read
On this page

To check Shopify structured data, inspect the live product page, identify every generator and compare the markup with the product a customer can actually buy. Fix conflicting price, availability and identity information at its source. Adding another JSON-LD block can make an already confusing page harder to interpret.

Start with one product and several states

Choose a product with at least two meaningful variants. Record its URL, selected option, displayed price, currency and stock status. Repeat with an unavailable variant and, if relevant, another market.

This small sample is more revealing than testing only the store’s simplest product. A template can be correct for the default option while an app outputs stale information for a different variant.

Google illustration of a product snippet with rating, price and availability.
Product snippet illustration. Source: Google Search Central.

The image is Google’s example of a product snippet. It helps explain why accurate product facts matter, but it is not a preview generated for your store.

Find the owners of the data

Search the page source for application/ld+json, then inspect the rendered page if an app injects data with JavaScript. Look for Product, ProductGroup, Offer, AggregateRating, Organization and BreadcrumbList entities. Record the identifiers and the component responsible for each.

Shopify documents a Liquid structured_data filter for product and article objects. Its current documentation describes Product and ProductGroup output depending on variants. Themes and apps can implement their own output, so the filter’s existence does not establish what your particular page contains.

Do not paste an extra Product object simply because an audit says “schema missing.” First confirm whether the audit read the rendered page, which URL it tested and which search feature it evaluated.

Compare fields against the storefront

Field group What to verify Typical problem to investigate
Identity Product name, URL and stable identifier Two generators describe different products
Offer Price, currency, availability and offer URL An app retains yesterday’s price
Variants The selected option and its relationship to the product Every option points to the same stale offer
Reviews Real reviews about this product Storewide ratings copied onto every item
Images Accessible images of the actual item Broken image URL or unrelated lifestyle asset

Treat these as diagnostic questions. Requirements differ between product snippets and merchant listing experiences, so use Google’s documentation for the feature you are targeting rather than assuming one short checklist covers all cases.

Resolve conflicts at the generator

Suppose a theme describes an item as in stock while a review or SEO app outputs a second offer marked out of stock. The first decision is ownership: which system has current product data and a supported way to publish it?

On a duplicate theme or protected development workflow, adjust or disable the overlapping output using the component’s supported setting. Preserve unrelated markup such as breadcrumbs or organization identity. Test the same product states again before publishing the theme change.

Multiple JSON-LD blocks are not automatically invalid. Related entities can be distributed across blocks. Focus on contradictory claims and disconnected identities, not on forcing every site into a single script tag.

Validate both code and the deployed URL

Use Google’s Rich Results Test for supported Google search features and Schema.org’s validator for vocabulary inspection. A syntax error should be fixed first; an eligibility warning requires understanding the feature and whether the missing field applies to your product.

SearchGlint’s schema generator currently supports a limited set of editorial and organization objects, not a complete Shopify ProductGroup audit. Use a product-capable validator for this task.

After deployment, retest the live URL and a second product using the same template. Inspect the rendered values, not just the success message from the theme editor. Submit or inspect relevant URLs in your webmaster tools when appropriate, then monitor the corresponding reports as data updates.

Keep schema connected to merchandising changes

Recheck after installing an app, changing a theme, adding a market or restructuring variants. Give merchandising and development teams the same sample-product list so they can compare results.

Use the Shopify launch checklist for the surrounding page checks. If a product address changes during the work, follow the redirect guide and update the structured URL to the final destination. Accurate markup should remain a description of the live product, maintained alongside the storefront itself.

Sources

Written by SearchGlint Editorial Team

How we research and review our guides