Technical Definition & Architecture

In e-commerce, multi-variant products create significant indexing challenges for search engines. When a t-shirt has 5 color variants and 4 size options, declaring them as 20 separate unconnected products confuses Google's canonicalization algorithms.

By nesting individual variant offers inside a parent Product or ProductGroup with the inProductGroupWithID property, merchants clearly communicate parent-child relationships to Google.

Smart Schema generates hierarchical variant structures that link all active variants to the parent product handle, ensuring each variant URL maintains accurate pricing and inventory signals without duplicating the core entity.

Syntax Example for Shopify JSON-LD

{
  "@context": "https://schema.org",
  "@type": "ProductGroup",
  "name": "Merino Wool Crewneck",
  "productGroupID": "PROD-10293",
  "variesBy": ["https://schema.org/size", "https://schema.org/color"]
}
Automate Schema Compliance Across Your Catalog

Keep your Shopify products verified and compliant with Google Merchant Center standards. Smart Schema renders complete, valid JSON-LD server-side with zero theme code edits.

Start 14-Day Free Trial

Frequently Asked Questions

When should I use ProductGroup instead of standard Product schema?

Use ProductGroup or inProductGroupWithID whenever your Shopify catalog features items with selectable variants (such as sizes, colors, or bundle counts) on a single product page.

Related Implementation Guide

See our in-depth tutorial on how to implement and troubleshoot this property:

Shopify Multi-Variant Schema: Fix Variant Pricing