Selling plans
The values of `subscription-group` inside `subscription-swatches`.
On this page
At a glance
A group with several plans
- Tab
- The group's name, from
subscription-group="name". - Pane
- One Radio button per plan.
- Class
more-optionson the tab and pane. Elements withgroup-condition="more-options"on or inside them show.
A group with one plan
- Tab
- The plan's name instead of the group's. A click on the tab chooses the plan.
- Class
one-optionon the tab and pane. Elements withgroup-condition="one-option"on or inside them show.
A product sold only by subscription
- One-time tab
- Removed, with its pane.
- Starts on
- The first plan.
No plan for the selected variant
- Picker
subscription-swatchesis removed, when the product or the selected variant has no plan.- Groups
- A group without a plan for the selected variant is dropped.
More in the guide.
Where it can go
- Inside
subscription-swatches.
Values
| Attribute and value | What it is | Notes |
|---|---|---|
subscription-group="name" | Group name | on text |