> For the complete documentation index, see [llms.txt](https://docs.optis.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.optis.me/product-options/20-option-types/others/option-group.md).

# Option Group

An **Option Group** is a container that holds several options under one title. Customers can click the title to expand or collapse the options inside - handy for products with many customization fields.

<figure><img src="https://1821185975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFiuDpHWm2HwzxPH4lfM%2Fuploads%2FNzNKhRlzmov9wCVTzXIx%2Fimage.png?alt=media&amp;token=5a4bf616-12e7-4cbc-ad76-ac3a1e5113e4" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Plan:** Option groups are available on the **Advanced** plan and above. On the Free plan you can still try them on one live product with a Premium option set. See [Plans and feature availability](https://docs.optis.me/product-options/getting-started/plans-and-features.md).
{% endhint %}

✨ [Demo store](https://optis-product-options-variant.myshopify.com/products/custom-backpack-option-group?_pos=1&_psq=option+group&_ss=e&_v=1.0)

## When to use an Option Group

* Structure a long option set into clear sections.
* Hide optional or advanced settings until the customer needs them.
* Keep required, frequently used options open and visible by default.

## How Option Groups appear on the storefront

{% embed url="<https://jam.dev/c/0fe7df8d-427c-4221-bed5-864d011b209c>" %}

## How to add an Option Group

### Step 1: Create the group

In **1. Add options**, click **Add group** (or **Add group after** from an option's menu). The group is added as **Untitled Group**, and its settings open in the editor panel with **Content** and **Display** tabs.

<figure><img src="https://1821185975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFiuDpHWm2HwzxPH4lfM%2Fuploads%2FhuGnnpVlwqqhxLmDdY4H%2Fadd%20group.png?alt=media&amp;token=4ea78376-deae-4e11-a2dc-dc780667f18e" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Groups can't be nested - you can't add a group inside another group.
{% endhint %}

### Step 2: Configure the group

{% stepper %}
{% step %}

#### In the **Content** tab, set the group label

<figure><img src="https://1821185975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFiuDpHWm2HwzxPH4lfM%2Fuploads%2FLQ6VzD3fCjpdCso2VXGu%2Fimage.png?alt=media&amp;token=1699b41b-8730-41c1-a059-cffe8df17445" alt=""><figcaption></figcaption></figure>

**Label on product** - type the name (max 250 characters). It is shown on the product page as a clickable header. You can also click the group name at the top of the panel to rename it:

<figure><img src="https://1821185975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFiuDpHWm2HwzxPH4lfM%2Fuploads%2FueboT71UqDEJyaUGbiLh%2Fgroup%20label.png?alt=media&amp;token=753ba3c7-b74c-457f-a21c-21e6517dab46" alt=""><figcaption></figcaption></figure>

#### In the **Display** tab, choose the Display type and add Visibility

<figure><img src="https://1821185975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFiuDpHWm2HwzxPH4lfM%2Fuploads%2FxHySsi19cZOjBqeifIxq%2Fdisplay%20group.png?alt=media&amp;token=3495b995-dc04-476b-9bb5-8d9367617ec7" alt=""><figcaption></figcaption></figure>

**Display type** - under **Default state when page loads**, choose:

* **Expand** - the group is open by default, and all options inside are immediately visible. Recommended for required or frequently used options.
* **Collapse** - the group is hidden by default; customers click the title to view the options. Recommended for optional or advanced settings.

**Visibility (optional)** - show or hide the whole group based on another option, useful for revealing extra options only when needed. Options inside the group can still have their own, independent Visibility rules. See [How to set up Conditional logics?](https://docs.optis.me/product-options/advanced-setup/how-to-set-up-conditional-logics.md).
{% endstep %}

{% step %}

#### Click the back arrow at the top of the panel to finish

{% endstep %}
{% endstepper %}

### Step 3: Add options to the group

1. Continue adding options **to this group** with **Add option in group** (use **Add option after group** to add an option outside of the group).

<figure><img src="https://1821185975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFiuDpHWm2HwzxPH4lfM%2Fuploads%2Fxk9BDqqQ4cA3PwVOiPni%2Fadd%20option%20in%20group.png?alt=media&amp;token=49580821-1a3c-4c39-9444-0fbbef95b8a3" alt=""><figcaption></figcaption></figure>

2. Select the option type you want to create (checkbox, text box, etc.).

<figure><img src="https://1821185975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFiuDpHWm2HwzxPH4lfM%2Fuploads%2FZXPhD8LtPwijHtrnbFgu%2Fadd%20options.png?alt=media&amp;token=4f337fba-8e7c-4131-acf6-fcd157e7b530" alt=""><figcaption></figcaption></figure>

3. Configure the option as usual and click **Save**.

<figure><img src="https://1821185975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFiuDpHWm2HwzxPH4lfM%2Fuploads%2FUkWBUon1ziSQsSbbZp0E%2Fsave.png?alt=media&amp;token=e3863dfa-0d49-4b0f-8a78-bc4364986dd8" alt=""><figcaption></figcaption></figure>

You'll now see the option inside the group, and a live preview on the right showing how the group expands and collapses.

{% hint style="info" %}
Already have separate options you want to move into a new Option Group? Drag and drop them here:
{% endhint %}

<figure><img src="https://1821185975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFiuDpHWm2HwzxPH4lfM%2Fuploads%2FK1S8TvC2bhFNK9EWFrGk%2FScreenshot%20at%20Aug%2008%2010-27-29.png?alt=media&amp;token=09738989-4bde-40a6-add5-aa941b12a77e" alt=""><figcaption></figcaption></figure>

### Step 4: Apply to products and save

<figure><img src="https://1821185975-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFiuDpHWm2HwzxPH4lfM%2Fuploads%2FjkOCAV0QABmqYCLTgyhj%2Fk.png?alt=media&amp;token=a45404e8-7a95-4dcd-a186-b2574f0ee62e" alt=""><figcaption></figcaption></figure>

## Related guides

* [How to set up Conditional logics?](https://docs.optis.me/product-options/advanced-setup/how-to-set-up-conditional-logics.md)
* [Assign an option set to products and customers](https://docs.optis.me/product-options/getting-started/assign-option-sets-to-products-and-customers.md)
