> For the complete documentation index, see [llms.txt](https://shoppad.gitbook.io/infinite-options/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shoppad.gitbook.io/infinite-options/managing-your-options/make-swatches-required.md).

# How to Make Color Swatches Required Before Adding to Cart

You can require customers to select a swatch before adding a product to their cart. By default, swatches behave like radio buttons, so the first swatch is automatically selected. If you'd rather have customers make their own selection, you can change how the swatches behave. \
\
The two options below explain how each setup works.

### Option 1: Always Keep One Swatch Selected

Leave **Allow Multiple Selections** unchecked.

<figure><img src="/files/VIyklTFMODcCe4BoFgLZ" alt=""><figcaption></figcaption></figure>

With this setup:

* The first swatch is automatically selected when the product page loads.
* Customers can't remove the selection.
* Customers can change their selection by clicking a different swatch.

This is the best option if customers should always have exactly one swatch selected.

***

### Option 2: Require Customers to Make a Selection

Enable **Allow Multiple Selections**.

<figure><img src="/files/LNNxu3DGRnaWKvU5g5v1" alt=""><figcaption></figcaption></figure>

Expand **Additional configuration**.

<figure><img src="/files/ChOWznLy7El5cgef3U8D" alt=""><figcaption></figcaption></figure>

To require customers to make a selection:

* Set **Min Selections** to **1**.
* Leave **Max Selections** blank if there's no limit to how many swatches customers can select.

#### With this setup:

* No swatch is selected when the product page loads.
* Customers must select at least one swatch before adding the product to their cart.
* You can adjust the minimum and maximum number of selections as needed.
* If you set **Max Selections** to **1**, customers must deselect their current swatch before selecting another because the swatches behave like checkboxes instead of radio buttons.

***

### Want to Change How Swatches Look?

If you'd like to customize the appearance of your swatches, including their size, shape, borders, or layout, see:

[**Style Your Swatch Options**](broken://spaces/6jkeqQwKAt8g6SCfEhCt/pages/O1IhhTOgBtUueCYsUwoW)
