# addon-select

> Select whose options are the nested product's variants as add-ons.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/astro/reference/elements/addon-select  
Updated: 2026-10-21

## Where it can go

- **Inside** `smootify-add-to-cart smootify-product`. A selector with a space is a chain: `a b` is `b` inside `a`.
- **Not inside** an element with `hidden` at boot: it does not mount.
- **Must contain** `select`.
- **Out of place,** Smootify removes it from the page.

## What it requires

Nothing beyond Smootify: it works on every plan.

## Attributes on the element

- **It reads** `quantity`, `id`.

## Loading

Its code loads only on pages that have `addon-select`.
