Skip to content

Why is my swatch pre-selected?

Learn why the first Infinite Options swatch is pre-selected on page load, since swatches act like radio buttons, and what your alternatives are.

Swatches in Infinite Options behave like radio buttons. By design, radio buttons always have one value selected, so the first swatch is automatically selected when the product page loads.

This is expected behavior and can’t be changed for the Swatches input type.

Not when using the Swatches input type.

If you need customers to start with no option selected or be able to clear their selection, the available workaround is to use the Multiple input type instead.

Unlike Swatches, the Multiple input type allows customers to:

  • Start with no value selected.
  • Select a value by clicking it.
  • Deselect the value by clicking it again.

The tradeoff is that it behaves differently from a traditional swatch, so the interaction may feel less familiar depending on your storefront.

  1. Open the option field in the Infinite Options dashboard.
  2. Locate the Input Type setting.
  3. Change the input type from Swatches to Multiple.
  4. Save your changes.

If you’re using the Multiple input type and want customers to select at least one value before adding the product to their cart, you can enforce this by configuring minimum and maximum selections for the option.