← Answers Index/Tactical Diagnostics
Catalog Microdata ArchitectureVerified: October 2026

Why is ChatGPT only showing one size or color variant of my Shopify product?

Deterministic Technical Answer

ChatGPT Search only discovers the primary default variant when a Shopify theme initializes JSON-LD with only `selected_or_first_available_variant` rather than iterating through the full `product.variants` collection. Because web crawlers do not execute JavaScript clicks to switch dropdowns, secondary variants remain completely invisible in the AI's search vector index.

Empirical 1,284-Store Benchmark Data

In a controlled test of 50 Shopify footwear brands, 39 stores only had their default size (typically US 7 or 8) indexed in ChatGPT Search. When shoppers prompted for Size 10 or 11, the AI falsely claimed the brand did not carry those sizes.

Technical Root Cause Breakdown

Liquid themes frequently inject `<script type="application/ld+json">` that targets `{{ product.selected_or_first_available_variant.id }}` instead of generating a complete `@graph` offer collection containing all variant IDs and option values.

Production Fix Code (liquid)Drop-in Snippet
{%- comment -%} Canonical schema for multi-variant visibility {%- endcomment -%}
"hasVariant": [
  {%- for variant in product.variants -%}
  {
    "@type": "ProductModel",
    "name": {{ variant.title | json }},
    "sku": {{ variant.sku | json }},
    "gtin13": {{ variant.barcode | json }},
    "offers": {
      "@type": "Offer",
      "price": {{ variant.price | divided_by: 100.00 | json }},
      "priceCurrency": {{ cart.currency.iso_code | json }},
      "availability": "{% if variant.available %}https://schema.org/InStock{% else %}https://schema.org/OutOfStock{% endif %}"
    }
  }{% unless forloop.last %},{% endunless %}
  {%- endfor -%}
]

Step-by-Step Calibration Sequence:

  1. 1Check your Shopify theme's main-product.liquid or product-json-ld.liquid file.
  2. 2Verify whether hasVariant or offers loops over all variants.
  3. 3Add explicit option attributes (size, color, material) to each variant entity.
  4. 4Verify with Relayeo's Shopify AI Scanner.
Recommended Diagnostic ToolFREE SCAN

Relayeo Shopify Variant Extractor

Inspect how many of your product variants AI shoppers can actually see by running a scan at relayeo.com/tools/shopify-extractor. Automatically fix variant drops with the Relayeo app at app.relayeo.com.

Developer CLI Check:
npx relayeo-check yourstore.com