Switch

  1. Home
  2. Docs
  3. EXPO
  4. Option Types
  5. Input
  6. Switch

Switch

The Switch option allows shoppers to turn an option on or off with a toggle switch. It is commonly used for optional add-ons, upgrades, services, gift wrapping, engraving, or any feature that customers can choose to include for an additional cost.

Configuration

After adding a Switch option to your option set, you can customize its display, labels, pricing, and visibility settings.

Basic settings

The Basic settings section controls how the option is displayed and identified throughout your store.

  • Option name: The label displayed to shoppers on the storefront.
  • Required field: Require shoppers to make a selection before adding the product to the cart.
  • Name on cart: Customize how this option appears in the cart, checkout, and order details. If left empty, the Option name will be used.
  • Option width: Control how much horizontal space the option occupies within the product form.
  • Hide option name on store: Hide the option label on the storefront while keeping the switch visible.
  • Value when off: The label displayed when the switch is turned off.
  • Value when on: The label displayed when the switch is turned on.

Additional cost

Use these settings to apply an additional charge when the switch is enabled.

  • Extra cost: The amount added to the product price when the switch is turned on.

Optional settings

Expand this section to access advanced configuration and visibility settings.

Advanced settings

Configure additional information and validation messages for the option.

  • Option description tooltip: Display additional information when shoppers hover over the tooltip icon next to the option label.
  • Validation alert text: Custom error message displayed when validation requirements are not met.

Visibility

Use visibility rules to control when this option is displayed.

You can show or hide the option based on other option selections or configured conditions.

Frontend display

On the storefront, the Switch option appears as a toggle control with configurable labels for both the enabled and disabled states.

Shoppers can turn the option on or off with a single click. If an extra cost is configured, the product price is automatically updated when the switch is enabled.

The selected value is saved with the order and remains available throughout the purchasing workflow.

In Shopify Admin, the customer’s selection is displayed as a line item property within the order details, making it easy to review the chosen option.

Need Help?

We’re here for you!

Reach out to our support team directly from your EXPO dashboard  we usually reply within a few hours. Or email us at [email protected] with your store link and a short description of what you need.

No question is too small – whether it’s your first time setting up an option or you just need a quick tip, we’re happy to help.

Was this article helpful to you? No Yes

How can we help?