Availability of Specific Variants

Many of our products are apparel based, and have both a size and color variant. Let’s say a shirt is available in red, white, and blue. Sizes are Small, Medium, and Large. Normally I would index this product with two different variants (size and color). However, for many of our products, certain size and color combos are not available. In this case, red/large doesn’t exist, and neither does blue/small. How do we exclude those variations from being indexed, and thus make them not show up in search results?

Hi @RyanBorn if you are using Shopify to index your variants, this documentation may help. If you are using Magento, then we only index products that are in stock. If you are using another API client to index your data, just check the stock amount and only index if the variant is in stock.