# 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. \
\
There are two ways to do this, depending on how you want the swatches to behave.

### Option 1: Single Selection (Always One Selected)

If you turn **Allow Multiple Selections** to **No**, the swatches behave like radio buttons.

* One swatch is automatically selected when the page loads
* Customers cannot remove the selection
* They can only change it

This setup guarantees that one option is always chosen.

![](https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2Fgit-blob-6bd5b42ecedf19a5a60681b245ac8636fb6d031c%2Fdocsassets555e25e4e4b027e1978e1c9aimages67c2410367dfc964971f7489file-n29fufgsmi.png?alt=media)

This is best if customers must choose exactly one option.

### Option 2: Customer Must Click to Choose

If you turn **Allow Multiple Selections** to **Yes** and set the field to **Required**, the swatches behave like checkboxes.

* No swatch is selected when the page loads
* Customers must click on at least one swatch before adding to the cart
* You can set minimum and maximum selection limits

![](https://24152052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FglwgaFVh2VmGBjtIbnDb%2Fuploads%2Fgit-blob-eef59029baf5ad47c150f42217bbc664ccea32df%2Fdocsassets555e25e4e4b027e1978e1c9aimages67c241c4c1886c765c9a6436file-2ot2az3cic.png?alt=media)

By default:

* Minimum selections = 1
* No maximum limit

You can adjust these in the advanced settings if needed.

### Want to Change How Swatches Look?

If you’d like to adjust how your swatches display — such as size, shape, borders, or layout — visit:

[**Style Your Swatch Options**](https://shoppad.gitbook.io/infinite-options/inputs-and-field-settings/create-swatches/how-to-make-swatches-required)
