# Radio Button

✨ [Demo store](https://optis-product-options-variant.myshopify.com/products/radio-button?variant=51025988550934)

### 1. How Does the Radio Button Display?

The Radio Button option displays as a small circular icon next to a label, allowing users to select only one choice from a list of options. Once a user selects a radio button, any previously selected option is automatically deselected. This ensures a single, definitive answer.

Example of how it appears on a product page:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfB2a3FkD2kj4tVUTreydwRG7iqX9MO5Ei-xKLBTyoQpxIgFQ_TRR1L9rplIPLbX70VfBN233vBIzjuKcbL-2KzwnV-9Qnq4Vxtjgz_PH2mLjQZHQrjSoRnF1bXDam0ktDoxtbF?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

### 2. How to Create a Radio Button

**Step 1: Add a New Option**

* Click Add Option > Radio button to create a new option

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeJW3gapDMEPs0-i-6nCAU1uKB1qqGBT11m5xQnGC1leHm9UZYqjti6XJrevb_T1nMAASQrxb7yRqyWR1hyirPrq_KdpCZjUNxP88vVvBYqBe3SW1Kxyn0VQTCyE4DKO5Rx7AiNjg?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

**Step 2: Add information to the Radio button**

* Enter an option name for the Radio Button (e.g., "Customize Your Candle", "Choose Scent")
* Add the option values (e.g., Lavender, Vanilla, Citrus, Rose, Coconut, Eucalyptus)

  <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc72rGCRhHXV4ER1b607Y7NA93GWw2Vfjfoc9LsLNfN1_q5Z-3r048iZGGnkBWT62s3yhEusIJudncVJOo-O45tjQFHvr0t43mQBknDK03jdm5Y47S2btHPykxu-dp0Ps6J-KVbWg?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>
* Tick on “This option is required” if you want customers must choose the option before checking out.
* Tick on "Hide option name” if you don’t want to show the option name above the option values

Other features:

* Price Add-On > Create Fee – [What is it & How to Use](https://www.youtube.com/watch?v=5Bq4t0IrVEU)
* Price Upsell product > Assign to Variant – [What is it & How to Use](/product-options/advanced-setup/how-to-use-upsell-product-link-stock-and-price-of-shopify-variant-to-option-value.md)
* SKU – [What is it & How to Use](https://www.shopify.com/ca/retail/what-is-a-sku-number)
* Quantity – [What is it & How to Use](/product-options/advanced-setup/how-to-use-the-quantity-feature-for-options.md)

**Step 3: Advanced Settings (If Needed)**

{% hint style="success" %}
**Conditional Logic:** Enable conditional logic if you want the Radio button to show/hide only when a customer selects a specific option from another field. [How to set up Conditional logic?](https://optis-options-helpdesk.crisp.help/en/article/how-to-set-up-conditional-logics-1dgigop/)
{% endhint %}

{% hint style="success" %}
**Help text:** Add a short description to explain the purpose of the Radio button option. It can be displayed as Tooltips or Content (Below/Beside the option title, Below the option).
{% endhint %}

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfGd8Eh9yMNVoP4G-LAw3vCS6FtcXDivHvrnkUAZFhmhruMd_msYgDUkAZHb4vEyckiF1p_gl0ysBEIc9Sx-4fqIKBp9UparbVuy82DDOUZeSa1APiViZpIqqam0hVWIPuiJ0_qQQ?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
**Default value:** Pre-select the Radio button options every time the customer goes to the site. It can save time for customers by providing common or expected choices.
{% endhint %}

Example: You want the option value “Rose” to be selected automatically when customers enter the product page.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXccyIHIFI_JvZjxJNqqEr-2SWO6oqJ5q56K7h7PI9BeGd4OahkP94e0FciWxcC2LOovZexL6sE79HiAWnK0i_1jFonprqLxIoLUVdmQdYWodMiPSHF6rZQRM6g4s3r_3-bP_bBr?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

How it looks like in your storefront:

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdAjPN8nhDeCt_CVz1V5RmXixjXbCYiOoqNZa37kMlra2hO1Ai8WM1w-dRij71_x1aaR5Ut2fg_r_WTcR4MMnkXymTt3Hg1MBmIWtWEVbt3roD6X7MzmXjauhfHNNohX8LHY82MjA?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>

**Step 4: Save and Test**

* Click Save to apply the settings.
* Visit the product page on your store to check if the Radio Button option works correctly.

### 3. Real-World Applications of Radio button

Radio buttons are ideal for making single, decisive selections when only one option can apply:

* Product Variations: Select one size, color, or material per product.
* Shipping Methods: Choose between standard, express, or same-day delivery.
* Surveys & Forms: Answer yes/no questions or pick one option from a list.

### 4. Key Features of Radio button

* The Radio button let users choose only one option from a predefined list, ensuring clear, exclusive selections. When displaying many option values, they can be arranged in a single line or inline layout to save space and maintain a clean, organized design.<br>

  <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfaumUqLADSmK0Dz5vBSECq1h2pylBaPpzn9k-QoYV4q6UQOJVxZEVuQXKIK4_JDF7AbJpb8xzqxOMlGy_v0xGXi2m7WoX1Iu30tn_aJjjIFSD5iKr6t3t9wdc-y60jq-W5KhpMNQ?key=DC83dM0yOWsDjpoRFQoUWeuE" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.optis.me/product-options/18-option-types/choice-list/radio-button.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
