# Selling plans

> The values of `subscription-group` inside `subscription-swatches`.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/reference/attributes/selling-plan  
Updated: 2026-10-13

## At a glance

| Case | What the picker does |
|---|---|
| A group with several plans | the tab shows the group's name (`subscription-group="name"`), the pane one Radio button per plan; the tab and pane get the class `more-options`, and elements with `group-condition="more-options"` on or inside them show |
| A group with one plan | the tab shows the plan's name instead of the group's, and a click on it chooses the plan; the tab and pane get the class `one-option`, and elements with `group-condition="one-option"` on or inside them show |
| A product sold only by subscription | the one-time tab and its pane are removed; the picker starts on the first plan |
| No plan for the selected variant | `subscription-swatches` is removed when the product or the selected variant has no plan; a group without a plan for the selected variant is dropped |

More in [the guide](https://www.smootify.io/docs/features/subscriptions).

## Where it can go

- **Inside** [`subscription-swatches`](https://www.smootify.io/docs/reference/elements/subscription-swatches).

## Values

| Attribute and value | What it is | Notes |
|---|---|---|
| `subscription-group="name"` | Group name | on text |
