Answers
Why does my Shopify product page have duplicate structured data?Usually because two things print it: your theme, and an app, often a reviews or SEO app, through an app embed. Two Product records that disagree on price or rating leave an agent to guess which one is right. Keep one source and remove the other.
- 1.Open one product page in Google's Rich Results Test and see what structured data it finds. One Product or ProductGroup item is what you want.
- 2.In your theme code, search the product template and its sections for structured_data and application/ld+json. Shopify's structured_data filter prints a Product for a product with no variants, and a ProductGroup for one with variants.
- 3.In the theme editor, open App embeds and see which apps are on. A reviews or SEO app that adds its own product markup is the usual second copy.
- 4.On a duplicate of your theme, keep one source: turn the extra copy off in the app's settings or its embed, or remove the theme's own copy.
- 5.Test the same page again and check the price, availability and rating match what a shopper sees on the page.
Shopify themes print product structured data as JSON-LD, often through the structured_data filter. Apps installed later can add their own, and an app you removed can leave its code in the theme.
App embeds can be turned on and off in the theme editor, so you can test without deleting anything.
- Shopify: the structured_data filter
- Shopify: app embeds in your theme
- Google: Rich Results Test
- Google: product structured data
- How do I optimize product pages for AI assistants?
- Run the free scan
- All answers
Free: scan your store and get a first draft of your agents.md.