Switch
1. How Does the Switch Display?
The Switch option displays as a switcher that users can turn on or off with a single click. Visually, it resembles a small horizontal track with a circular handle that slides from one side to the other. It can be used individually or in groups when multiple choices are allowed.
Example of how it appears on a product page:
A product with a Switch to select “Yes” on Add Gift Box and Greeting Card
2. How to Create a Switch
Step 1: Add a New Option
Click Add Option > Switch to create a new option
Step 2: Add information to the Switch
Enter an option name for the Switch (e.g., "Add Gift Box and Greeting Card")
Add the option values (e.g., Yes/No).
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.
For example:
Other features:
Price Add-On > Create Fee – What is it & How to Use
Price Upsell product > Assign to Variant – What is it & How to Use
SKU – What is it & How to Use
Quantity – What is it & How to Use
Step 3: Advanced Settings (If Needed)
Conditional Logic: Enable conditional logic if you want the Switch to show/hide only when a customer selects a specific option from another field. How to set up Conditional logic?
Help text: Add a short description to explain the purpose of the Switch option. It can be displayed as Tooltips or Content (Below/Beside the option title, Below the option).
Here is an example of the Help text as Tooltips looks like on the storefront:
Default value: Pre-select the Switch options every time the customer goes to the site. It can save time for customers by providing common or expected choices.
Example: You want the option value “Yes” on Add Gift Box and Greeting Card to be selected automatically when customers enter the product page.
How it looks like in your storefront:
Limit selectors: You can set Min/Max option value that customers can select.
Step 4: Save and Test
Click Save to apply the settings.
Visit the product page on your store to check if the Switch option works correctly.
3. Real-World Applications of Switch
Product Features: Activate additional services like gift wrapping, or Yes/No questions.
Newsletter Signup: Opt in for email updates or promotional offers.
4. Key Features of Switch
The Switch option allows users to select one or multiple options with a single click. 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.
Last updated