> For the complete documentation index, see [llms.txt](https://staylime.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://staylime.com/docs/avante-themes/features-and-advanced-setup/product-variants.md).

# Product variants

## Variant selector display

Configure how variants appear in **Theme settings → Variant selector**:

* **Dropdown** — classic select menu
* **Pills** — clickable buttons for each option
* **Color pills** — visual color swatches. Enter the exact option name (e.g. `Color`) to activate

## Color pills on collection cards

To show color swatches on product cards in collection pages:

1. Go to **Theme Editor → Collection template → Product grid section**
2. Enable **"Enable color pills"**

## Variant images not switching

If the gallery doesn't update when you select a variant:

1. Go to **Theme Editor → Products → Product overview section**
2. Make sure **"Show the first image instead of the variant's"** is **unchecked**
3. If using **"Show only media of selected variant"**, add the variant name in brackets to the image Alt text in Shopify Admin — e.g. `(Red)`, `(Blue)`

## Hiding single-value options (v7)

Enable **"Hide product options with only one variant"** in Product overview section settings. Cleans up the UI for products with only one size or color.

## 2048 variants support (v8)

Avante supports up to 2,048 variants per product (vs Shopify's default 100). No additional configuration needed — the theme handles this automatically.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://staylime.com/docs/avante-themes/features-and-advanced-setup/product-variants.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
