Jobs to be done · SEO · Developer

How to fix product schema for AI search.

You just discovered that half your PDPs are missing aggregateRating, a third have blank material fields, and the schema your theme emits is thinner than you thought. You need to fix it everywhere, not one product at a time.

Quick answer

Run the schema audit in eCommerce Insights. Review the field-level gap report. Approve the generated diffs per SKU. eCommerce Insights pushes approved schema to Shopify admin (early access). For one-off checks, the free Product schema generator handles individual SKUs.

How people do this without eCommerce Insights

The manual approach: you open one PDP, view source, copy the JSON-LD block into a validator, look at what's missing, and write a one-off fix. Then you do it again for another PDP. By SKU forty you realize this will never finish, so you hand it to a developer. The developer starts looking at theme liquid, discovers the JSON-LD is partially built from metafields and partially hard-coded, and estimates three weeks.

Alternative: you install a JSON-LD Shopify app. It adds a more elaborate schema block. You check three products and they look better. You ship. Two weeks later the Shopify SKU Visibility Grader shows your citation rate did not move, because the app's schema is technically valid but structurally shallow — it fills the easy fields and ignores the metafield-backed ones that matter. You are back where you started.

The gap is that schema is not just a technical compliance problem. It is a content problem. The material, care, origin, and fabric fields come from the brand's knowledge of its own catalog; no generic theme or app can fill them. You need a tool that knows your Shopify metafield schema, validates per field, and shows the content owner what is missing at the catalog level.

How to do this in eCommerce Insights

  1. Audit current schema across the catalog. Run the eCommerce Insights schema audit (one click once your Shopify store is connected). eCommerce Insights fetches every PDP, parses its live Product JSON-LD, validates against schema.org and the AI-engine field expectations derived from Q1 2026 citation data, and scores each SKU.
  2. Review the field-level gap report. The gap report shows which fields are missing per SKU, sorted by fix impact. It groups gaps by type (aggregateRating missing on X SKUs, material missing on Y SKUs) so you can batch-fix rather than working one product at a time.
  3. Generate complete JSON-LD per SKU. eCommerce Insights drafts the replacement JSON-LD using metafield data, product JSON, and review app data. Every draft goes through field-level validation. Fields eCommerce Insights cannot fill automatically (brand-specific values like origin or fiber blend) are flagged for you to fill via the Shopify metafield editor.
  4. Approve diffs. Each SKU's proposed schema arrives as a diff against the live version. Approve individually for hero SKUs or in batch for long-tail. Reject any draft that needs manual editing. The approval queue is the whole merchandising team's UI — a PM can review the diffs without reading JSON.
  5. Push to Shopify. Approved schema is written to Shopify metafields in a eCommerce Insights namespace. Your theme references those metafields in the PDP JSON-LD block. No theme-file edits after initial setup. This is early access; the manual alternative is to export the schema as copy-paste snippets for theme-file installation.

For the underlying schema mechanics, see the Schema for AI search guide.

What "good" looks like

  • Eleven core fields present on 95%+ of PDPs: name, description, sku, gtin, brand, offers (price, availability, url), image, material, color, aggregateRating, review.
  • No PDPs scoring below 60 on the structured-data factor. A score below 60 usually means two or more core fields are missing.
  • aggregateRating populated wherever review data exists. The single most common miss — review data exists in the store's review app but never reaches the JSON-LD block.
  • Zero schema validation errors in Google's Rich Results Test for hero SKUs. Warnings are acceptable; errors mean fields like price or availability are malformed.

Ask AI about fixing product schema

Have your favorite AI engine summarize this for your specific use case.

Frequently asked questions

Which Product schema fields actually matter for AI search?
In eCommerce Insights's Q1 2026 audit data, the fields that correlate most with AI citation are: name, description, sku, gtin, brand, offers (price + availability + url), image, material, color, aggregateRating, and review. That's 11 fields. Beyond these, additional fields help marginally. The single highest-leverage addition on most Shopify PDPs is aggregateRating — most stores have review data from apps but don't flow it into schema.
Can eCommerce Insights actually push schema back to Shopify?
Yes, in early access. eCommerce Insights writes approved schema to Shopify metafields under a eCommerce Insights namespace, and the theme references those metafields in the PDP JSON-LD block. No theme-file edits required once the namespace is wired. For merchants who prefer not to use the push feature, eCommerce Insights exports the schema as copy-paste snippets for manual theme installation.
What if my Shopify theme already emits Product JSON-LD?
Most Shopify themes do. eCommerce Insights's audit reads the live schema your theme produces and shows you exactly which fields are empty or generic. The fix usually means filling Shopify metafields (material, care, origin, fabric) and letting the theme's existing JSON-LD emit them. eCommerce Insights maps the schema.org field to the Shopify metafield automatically.
How often should I re-audit product schema?
Monthly is a reasonable baseline. New product launches, theme updates, and app changes (reviews, reviews-aggregator, inventory) all break or weaken schema in specific ways. eCommerce Insights's continuous scan catches regressions within a week; for merchants not on the paid product, a monthly manual audit via the free schema generator catches most issues.

Related tools

See eCommerce Insights on your catalog.

Fix schema across every SKU. Push to Shopify. Rerun weekly.