# Required select swatch options before add to cart

## Demo

<figure><img src="/files/lnplZ35DB2SLfASHpcTq" alt=""><figcaption><p>Demo</p></figcaption></figure>

### <mark style="color:blue;">**1. Enable swatch setting on product page**</mark>

* Open the **Globo Color Swatch** app from your Shopify admin panel.
* Navigate to the **Settings** app.
* Enable the **Swatch on Product Page** option to activate swatches on product pages.

<figure><img src="/files/YgkVOAlfPjurpry7NyNQ" alt=""><figcaption><p>Setting on product page</p></figcaption></figure>

### <mark style="color:blue;">2. E</mark><mark style="color:blue;">**nable required swatch options and setup require message**</mark>

<figure><img src="/files/Ayz5y7YNkImRlZYqmiY5" alt=""><figcaption><p>Enable required swatch options</p></figcaption></figure>

***

## Required selected variant does not work?

* Most of our themes have integrated required function, if your theme is not working, please contact the support team, we will integrate it for you 💕
* For further assistance, contact us via **<hi@globosoftware.net>**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.globo.io/product-variants-swatch/display-on-product-page/required-select-swatch-options-before-add-to-cart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
