Product variants in AI answers: which color and size gets recommended

How AI answers pick a color or size from your Shopify variants, and the feed, markup, image and copy fixes that decide which variant gets named.

In short

In our experience, most AI answers recommend a product, not a variant. They name a specific color or size when the shopper asks for one and the store has made that variant readable: its own feed row with color and size filled in, a URL that opens it, an image that shows it, ProductGroup markup on the page, and a sentence of copy saying who it suits. On Shopify, variants can live only inside a dropdown. Give each one those five things, and keep sold-out variants listed honestly instead of deleting them.

Ask an assistant for "a lightweight rain jacket in a dark color that fits over a sweater" and, in our experience, the answer will usually name a jacket. Sometimes it also says "the navy version" and "size up if you layer." That second sentence is where the sale gets specific, and it does not come from nowhere.

On Shopify, a product can have up to three options and up to 2,048 variants. To a shopper on your page, that is a tidy color picker. Our reading: to an engine reading your store, it can be a single page with one price, one image and a list of option values it has no reason to tell apart.

This article is about making each variant something an answer can name. Variant-level price and stock speed are covered in how AI answers handle price and stock updates.

How engines see a Shopify variant

We see three places an engine can learn about your variants, and they do not always agree.

On the page

Shopify themes serve one product URL and let a ?variant= query parameter deep link to a specific variant. Without that parameter, the theme shows the selected, first available, or first variant. Our reading: a crawler that fetches the plain product URL sees whatever your default variant is, with its price and image, and that is the variant most likely to be described.

In the feed

Feeds treat variants as separate items. Google's Merchant Center help asks you to submit each variant as a separate product sharing one item_group_id, with color, size, material and pattern filled in, a different landing page URL for each variant, and a landing page that matches the variant's price, availability and image. OpenAI's product feed spec for ChatGPT works the same way: one row per variant, a shared group ID, a variant_dict mapping option names to values, and a color field that should be "consistent with the product image." Each row carries its own price, availability, URL and images.

Shopify's own Shopify Catalog, which feeds AI channels, reads options and variants from your product data and lets you set up custom variant grouping.

In structured data

Since February 2024, Google has supported product variant markup: a ProductGroup with hasVariant for each variant, variesBy for the attributes that differ (size, color) and productGroupID for the parent SKU. For a single-page setup like Shopify's, the group gets one canonical URL, and each variant should be preselectable through its own URL parameter.

When an answer names a specific variant

Our reading from running prompts for stores: answers name a variant when the prompt contains the attribute and the store gives the engine something distinct to match it with. The table below is illustrative, not from a study.

Prompt shapeWhat the engine needsWhere it usually comes from
"Rain jacket in olive green"A variant whose color value reads "olive green"Feed color field, variant title, image
"Hiking boots for wide feet"A width option, described in wordsOption names, size guide copy
"Travel size face wash"A size variant with its volume statedVariant title, product copy
"Gift for a 10-year-old"The variant or bundle that fits the ageProduct copy, FAQ, product type
"Best rain jacket" (no attribute)Nothing variant-levelThe answer names the product

The last row matters. For broad prompts, the variant question does not come up, and the default variant does the talking.

In our skincare study, product pages were 34% of the 1,062 brand pages ChatGPT retrieved, more than category pages, guides and homepages. Our reading: whatever your product page says about its variants is what the engine has.

What to fix on a Shopify store

  • Name options in plain words. "Color: Forest green" and "Size: 500 ml refill" can be matched to a prompt. "Option 1: FG-02" cannot.
  • Give every variant an image. Shopify lets each variant have one media item from the product's media list. Our reading: a variant without one falls back to the product's main image, so the navy jacket can be shown in red. More on this in product images and AI search.
  • Check that feed rows point to the variant. Each row's link should open that variant, preselected, with the same price and image the row reports. Feed attribute detail is in Merchant Center feeds and AI search.
  • Check your theme's markup. In our experience, some themes output the default variant only, or a list of offers with no color or size. Test a product URL and see whether each variant appears with its attributes.
  • Write one sentence per meaningful variant. "The 30 ml is the travel size and fits a carry-on liquids bag" gives an answer something to repeat.
  • Choose the default variant on purpose. If the first variant is your least popular color, that is the one the plain URL describes.

Out-of-stock variants

Feeds report availability per variant, and Google expects the landing page to match. When one color sells out, keep the variant and mark it out of stock rather than deleting it. OpenAI's spec asks for item and group IDs that stay stable when price, stock or images change, and in our experience a deleted and recreated variant comes back with a new ID. Our reading: a sold-out default variant is the bigger risk, because the plain URL then shows "sold out" first, and an answer may describe the whole product as unavailable.

Variants or separate products?

Variants suit items that differ in one or two attributes and are otherwise the same product. OpenAI's spec puts it plainly: group only variants of the same product as presented on your site. If the "leather" and "canvas" versions differ in price band, care and audience, separate products with their own copy may be clearer to an engine and to a shopper. What happens to URLs and canonicals when one product lives in several places is covered in duplicate URLs and AI citations.

Questions we get about this

Do option apps count as variants?

Often not. Some product option apps store choices as line item properties, not as real Shopify variants; the docs for one such app, Infinite Options, say its options are stored as line item properties and do not create new SKUs. Our reading: those choices are not in your feed rows or variant markup, so an engine has only the page text to go on. If a choice matters for discovery, make it a real variant or describe it in the product copy.

Should the color be in the product title?

Not in the parent title. Keep the product title stable and put the color in the variant title and the feed color field. Google's Merchant Center help lists title among the details the landing page has to match, so a feed row titled "Rain jacket, navy" should open the navy variant.

Do I need ProductGroup markup if my feed is good?

Our reading: they do different jobs. The feed serves shopping surfaces that read your catalog. Markup serves engines that read your page. An answer can draw on either, so the two should describe the same variants the same way.

AAnna Kapp

Article by

Anna Kapp
GEO Research & Customer Success

Anna Kapp looks after Alethia's customers and leads the team's GEO research, helping Shopify brands understand and improve how ChatGPT, Perplexity, Gemini and Google AI Mode recommend them. She also drives Alethia's own GEO and helps shape a better product with every insight she brings back. She loves turning complex topics into simple, clear explanations and connecting small details to the bigger picture. Outside work, you'll find her surfing, planning her next trip or hunting for the best black coffee in whatever city she's in.

No commitment

See how AI is selling your products.

Get your free Alethia AI report and see where your brand stands across the AI platforms your customers are already using.