> For the complete documentation index, see [llms.txt](https://claimlane-docs.gitbook.io/claimlane-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://claimlane-docs.gitbook.io/claimlane-docs/troubleshooting-and-faqs/how-to-make-a-shopify-variant-unselectable.md).

# How to Make a Shopify Variant Unselectable

### Step 1: Go to Metafields Settings

In your Shopify admin, go to:

**Settings → Metafields and metaobjects**

<figure><img src="/files/02xGLmdNe8LpKf9b3nNx" alt=""><figcaption></figcaption></figure>

### Step 2: Choose Variant Metafields

From the list of available metafield types, click on **Variants**.

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

### Step 3: Add a New Definition

Click **Add definition** to create a new metafield for your variants.

<figure><img src="/files/8ySW5Htn0t5FXsI77Hte" alt=""><figcaption></figcaption></figure>

### Step 4: Create the “Claimlane Unavailable” Field

Fill in the fields as follows:

* **Name:** `claimlane_unavailable`
* **Namespace and key:** `custom.claimlane_unavailable`
* **Type:** *Single line text*

You can leave the other options as they are.

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

### Step 5: Add the Metafield Value to a Variant

Now that the metafield is created, you can add it to any variant you want to make unavailable in Claimlane.

1. Go to your **Products** in Shopify.
2. Select the product you want.
3. In the **Variants** section, click the variant you want to make unselectable.
4. Scroll down to **Metafields,** you’ll see the `claimlane_unavailable` field.
5. Add a message like:

   > “This product is not available”

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

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

### Step 6: See It in Claimlane

Once the metafield has a value:

* The variant will be **unselectable** in the Claimlane flow.
* The text you entered will appear as a message explaining why.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://claimlane-docs.gitbook.io/claimlane-docs/troubleshooting-and-faqs/how-to-make-a-shopify-variant-unselectable.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
