# Dynamic option availability

{% hint style="info" %}
**Update |** This feature was added in v2.11.0 on Nov 10, 2022. See our [changelog](https://github.com/fluorescent/kb-spark/blob/main/product-pages/spark-help-center/changelog.md) and [theme update guide](/spark/general/theme-updates.md) to learn more.
{% endhint %}

{% hint style="success" %} <mark style="color:green;">**Shopify**</mark> | The 'unavailable' swatch and chip style is used for variants with an inventory of **`0`**. Learn more about [Tracking inventory](https://help.shopify.com/en/manual/products/inventory) on Shopify.
{% endhint %}

The **Dynamic option availability** feature displays crossed-out swatches and chips for variants that are currently out of stock. Customers will easily see which variants are available and can avoid mistakenly selecting sold out products.

### **Turn off dynamic option availability**

This feature is enabled by default. You can turn off **Dynamic option availability** in the **Theme settings**.

<details>

<summary><mark style="color:blue;"><strong>STEPS</strong></mark></summary>

In your theme editor (**Customize**):

1. Click on **Theme settings** then open the **Product** tab.

   ![](/files/Kq9WXHpRBz6y8HfFFKrX)
2. Uncheck the **Enable** checkbox under **Dynamic option availability**.
3. Click **Save**.

</details>

\\

***

> **Related links**\
> [Enable swatches](https://github.com/fluorescent/kb-spark/blob/main/product-pages/variant-options/variant-swatches/broken-reference/README.md)\
> [Use default color swatches](/spark/product-pages/variant-options/variant-swatches/use-default-colors.md)\
> [Upload custom image swatches](/spark/product-pages/variant-options/variant-swatches/use-custom-images.md)\
> [Show swatches on collection pages](/spark/product-pages/variant-options/variant-swatches/show-on-product-cards.md)\
> [Enable dynamic option availability](/spark/product-pages/variant-options/variant-swatches/dynamic-option-availability.md)


---

# 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://help.fluorescent.co/spark/product-pages/variant-options/variant-swatches/dynamic-option-availability.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.
