Shopify structured data and schema markup for AI shopping assistants
Schema markup used to matter mainly for search engine rich results. Now it plays a bigger role: it's often the clearest, most trustworthy source of information an AI assistant has about a product, which makes it one of the highest-leverage technical fixes for AI shopping visibility.
What is schema markup?
Schema markup is structured data embedded in a page, usually as JSON-LD, that describes what something is using a standardized vocabulary. Instead of a search engine or AI assistant guessing at a product's price, availability, or rating from surrounding text, schema markup states it directly in a format built to be read by machines.
Why schema markup matters more for AI assistants than it did for search
Search engines have long used schema markup for visual extras like star ratings in search results. AI assistants use it differently: when assembling an answer to a shopping question, an assistant needs to state facts (price, availability, rating) with confidence, and clean structured data is the most reliable source for those facts. A page with rich, accurate schema markup gives an AI assistant a ready-made, trustworthy answer to work from. A page without it forces the assistant to infer those same facts from unstructured text, which it's less likely to do with confidence.
The three schema types that matter most for Shopify products
- Product schema states the basics: name, description, brand, images, and identifiers like SKU or GTIN. This is the foundation everything else builds on.
- Offer schema covers price, currency, and availability. Without it, an AI assistant has no reliable way to confirm whether a product is in stock or what it costs.
- AggregateRating schema captures review count and average rating. This is one of the clearest trust signals available, and it's also one of the most commonly missing pieces on Shopify stores that rely on a review app's visual widget without the underlying structured data.
Does Shopify add this automatically?
It depends on the theme. Some Shopify themes include basic Product schema out of the box, but coverage varies significantly, and AggregateRating schema in particular is often missing entirely, even when a store visibly displays star ratings from a review app. The visual widget and the structured data behind it are two different things, and having one doesn't guarantee the other.
How to check your current structured data
Run a live product page through a structured data testing tool, such as Google's Rich Results Test, and see which schema types it detects. Look specifically for whether Product, Offer, and AggregateRating are all present, and whether key fields like price, availability, and rating are populated rather than empty or missing.
How to fix missing or incomplete schema markup
If your theme doesn't include full schema coverage, a structured-data app can usually fill the gap without custom development. Prioritize your highest-traffic and highest-margin products first, and make sure review apps are configured to output AggregateRating schema, not just a visual star display, since that's the piece most commonly missed.
Hoko checks whether your products have the structured data AI assistants rely on as part of its AI Readiness scoring, alongside the semantic and commerce factors covered in the AI readiness checklist. See our pricing to run your first scan, or read 7 product page fixes that improve AI visibility for how schema markup fits alongside the other fixes that matter.