AI shopping for online stores

Can AI shopping tools understand product variants like sizes and colors?

The short answer

Yes, when variants are described clearly: each size and color with its own price, availability and identifier, grouped in your feed and structured data. When variants only exist in a dropdown that loads with JavaScript, or share one price and stock status, AI tools are more likely to show the wrong one.

Why variants matter more in AI shopping

A shopper asking an AI tool for "a linen shirt in olive, size large, that ships quickly" is asking about one variant, not the product. If your data only describes the product as a whole, the tool can't tell whether you have olive in large. It may show a competitor who makes that clear, or show your product with the wrong price or stock status.

How to structure variants in feeds

In a Merchant Center feed, each variant is its own item with its own ID, price, availability, image and identifier such as a GTIN. Variants of the same product share an item group ID, and the attributes that differ, such as color, size, material or pattern, are filled in for each one. This is the format Google uses to understand which items belong together, and other product feeds follow a similar pattern. See whether an online store needs a product feed.

How to structure variants on the page

Google supports structured data for product variants: a ProductGroup that lists the attributes the variants differ by, with each variant described as its own product with its own offer. It also helps when each variant can be reached at its own URL, for example through a parameter that preselects the size and color, so crawlers and shoppers land on the right one.

On the page itself:

  • show the selected variant's price and stock status in the HTML
  • use clear names for colors and sizes, not internal codes
  • give each color its own image, so tools can match the right picture
  • keep sold-out variants marked as unavailable rather than removing them silently

Common problems that confuse AI tools

  • one price shown for every variant, when some sizes cost more
  • stock shown at product level, so a sold-out size appears available
  • variants that only appear after a script runs
  • separate product pages for each color with near-identical text and no link between them
  • color names that differ between the feed, the page and the structured data

To find these, check your best-selling products in Merchant Center diagnostics for variant errors, then compare the feed with the page and the structured data for a few variants. If they disagree on price, availability or attribute names, fix that first. Then test a few variant-specific questions in AI Mode and ChatGPT. See what happens when a product sells out and product schema for AI shopping.

Related questions

More questions from online stores about AI shopping

Product feeds and merchant data - questions every business asks

Next questionIs AI search making shoppers less loyal to the online stores they used to buy from?

Find out whether ChatGPT and other AI tools recommend your online store

Get an AI visibility audit showing whether ChatGPT and other AI tools recommend your online store when people ask for what you offer, which competitors they name instead, and how you compare.

Request my AI visibility audit