Skip to content

Switch

Add a Switch field in Infinite Options for a simple on or off choice, such as an optional gift wrapping add-on on a product page.

A Switch field is a single on/off toggle, useful for a simple yes/no add-on like gift wrapping.

Open an existing Option Set or create a new one. Add a new option and select Switch as the input type.

A Switch has one value row, and that row’s cart text is what’s sent to the cart when the switch is on.

You can add a cost to the value using the price icon, and it displays on the product page.

Under Styling, choose a Shape (Pill, Rounded, or Square), an Enabled color, a Disabled color, and optionally a Class name.

Click Save to save your changes.

  • When a switch is off, nothing is submitted for that field.
  • Conditional logic treats an off switch as empty, so you can build a rule that reacts to it being off, for example showing a different option only when the switch is off.