惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
罗磊的独立博客
雷峰网
雷峰网
G
Google Developers Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
爱范儿
爱范儿
B
Blog RSS Feed
腾讯CDC
Apple Machine Learning Research
Apple Machine Learning Research
D
Docker
Recent Announcements
Recent Announcements
T
Tailwind CSS Blog
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Vercel News
Vercel News
小众软件
小众软件
人人都是产品经理
人人都是产品经理
云风的 BLOG
云风的 BLOG
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
I
InfoQ
S
SegmentFault 最新的问题

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
What Structured Data Your Product Page Needs in 2026
GrimLabs · 2026-04-28 · via DEV Community

What Structured Data Your Product Page Needs in 2026

The rules for product schema used to be pretty simple. Add Product, Offer, and maybe AggregateRating, and you were done. Google was happy. Your rich snippets looked nice. You moved on.

Those days are over. AI shopping agents are reading structured data differently than Google's crawler does, and they need a much fuller set of fields to actually surface your products confidently. Here's the complete 2026 list for any ecommerce store that wants to stay visible.

The Core Five

Product. Must include: name, description (minimum 150 chars), image (at least one, ideally multiple), brand (as a nested Brand object with name), sku, gtin, mpn (if applicable), category, weight, color, material, size. The old "just name + image" version won't cut it anymore.

Offer. Must include: price, priceCurrency, availability (InStock/OutOfStock/PreOrder/etc), priceValidUntil, itemCondition (NewCondition/UsedCondition), url (to the product page), hasMerchantReturnPolicy, shippingDetails.

AggregateRating if you have reviews. ratingValue, reviewCount, bestRating, worstRating. If you don't have reviews yet, consider adding them with a honest count (even if small).

Review array. Include your latest 3-5 reviews as nested Review objects with author, datePublished, reviewBody, and reviewRating. Agents use these for social proof.

BreadcrumbList. Category path from homepage to product. This is easy but a surprising number of stores don't have it.

The Fields Agents Actually Care About in 2026

Here's the thing most SEO guides haven't caught up on yet. These are the fields that are becoming hard differentiators in AI agent retrieval:

hasMerchantReturnPolicy. This is the biggest one. ChatGPT's shopping answers now strongly prefer products from stores that explicitly declare return policies in schema. 94% of stores I've scanned are missing this. If you add it, you get a meaningful visibility boost.

shippingDetails. Include shippingRate, shippingDestination, shippingLabel, and deliveryTime. Agents read this to answer "can I get this by Thursday" type queries. Missing = you're out of the consideration set.

additionalProperty array. This is a generic key-value bag for attributes that don't fit the standard schema. Material composition, certifications, specifications, size charts. Agents love this because they can use it to filter and compare.

itemCondition. Sounds obvious but a lot of stores omit it. Especially important for used/refurbished/open-box items where agents need to know before recommending.

offers.priceValidUntil. If you run sales, this tells agents when the price expires. Without it, agents can't confidently recommend your sale price because they don't know if it's still valid.

Common Mistakes

A few things I see over and over.

Inconsistency between schema and on-page content. Your schema says the product is $29 but the page shows $35. Google's crawler forgives this, AI agents don't. They downweight you significantly for inconsistency.

Wrong availability values. Use the exact ISO values: https://schema.org/InStock, https://schema.org/OutOfStock, etc. Not "available" or "yes" or your own strings.

Shallow brand object. "brand": "Nike" is not valid. It should be {"@type": "Brand", "name": "Nike"}. Most themes get this wrong out of the box.

Missing mainEntityOfPage. This is a subtle one. It tells crawlers which URL is the canonical location for the schema. Helps with deduplication when you have multiple URLs for the same product.

Nested schema that isn't actually nested. If you have a product with offers, the offers should be inside the product schema, not in a separate JSON-LD block. Agents parse the whole document and sometimes miss stuff that's structured weirdly.

How to Validate

Google's Rich Results Test is still the gold standard for validation. https://search.google.com/test/rich-results. Run it on 5-10 of your highest-traffic product pages and fix any errors.

For more advanced validation, the Schema.org validator at https://validator.schema.org/ is more strict and catches things Google misses. Worth running periodically.

For AI-specific validation, there's no good public tool yet. The best approach is to query ChatGPT directly with a product search and see if your store shows up. If not, you probably have gaps somewhere in this list.

The Implementation Path

For Shopify stores, the fastest path to a compliant product schema is:

  1. Export 5 product pages, view source, find the JSON-LD block.
  2. Paste into https://jsonld.com/json-ld-visualizer/ or similar to see the structure.
  3. Compare against the full field list above. Note what's missing.
  4. Fix in your theme's product.liquid template, or use an app that adds the missing fields.
  5. Re-test with Rich Results Test until clean.

For custom stores (headless Shopify, Next.js, whatever), you'd do the same thing but in your product component. Next.js in particular makes this easy with the tag outputting JSON-LD.</p> <h2> <a name="the-takeaway" href="#the-takeaway" class="anchor"> </a> The Takeaway </h2> <p>Product schema in 2026 is richer and stricter than it was in 2022. The baseline for &quot;visible to AI agents&quot; has moved up significantly and most stores haven&#39;t caught up. If you invest a few hours updating your schema now, you&#39;ll be ahead of 80% of your competitors for a year or two. After that, it&#39;ll be table stakes and you&#39;ll wish you&#39;d done it sooner.</p> <p>Run the Rich Results Test on your store this week. You&#39;ll probably find gaps. Fix them. It&#39;s one of the highest-ROI things you can do for your store&#39;s visibility in both google and AI channels right now.</p>