# Color Swatches

<div data-full-width="false"><figure><img src="/files/dHaPBf9wiTvRsPXBrcnP" alt=""><figcaption><p><a href="https://foxecom.com/pages/affiliate?utm_source=FoxEcom&#x26;utm_medium=help_center_foxify_color_swatches&#x26;utm_campaign=anchor-text&#x26;utm_term=explore_foxecom_affiliate_program_perks_now">Explore FoxEcom Affiliate program perks now</a> <span data-gb-custom-inline data-tag="emoji" data-code="2728">✨</span></p></figcaption></figure></div>

***

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

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

The Color Swatches feature is simple yet crucial for any store that offers products with different variant colors. Product swatches build the ultimate user experience for your online store by allowing customers to visualize precisely what you're offering.

This guide covers how to set up Color watches in Foxify.

{% embed url="<https://youtu.be/dzc1IaRdBBQ>" %}
An example of using swatches on Legacy editor
{% endembed %}

## How to enable Color Swatches in Foxify

{% hint style="success" %}
**Steps**

1. From your **Foxify Dashboard**, go to **Apps extensions** or in the **page editor**, select **Apps extensions.**
2. Select the **Foxify: Color Swatches** extension from the list.
3. &#x20;In the pop-up modal, click **Install extension**.
   {% endhint %}

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

## Customize colors for your swatches

Once you've installed the extension, click on it again to customize your swatches.

{% hint style="success" %}
Steps

1. Enter the **Color swatch trigger** by adding the product option names you want to show as swatches.
2. Check the option **Use color swatches using category metafields** to show **Shopify swatches**. [*Learn more*](https://help.shopify.com/manual/custom-data/metafields/category-metafields/using-category-metafields)
3. If you want to use **custom swatches**, set up the swatch items.

To each of your option values, select the colors you want to apply or add a custom image.

4. Save the changes.
   {% endhint %}

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

{% hint style="success" %}
The color swatches now show on your product details.&#x20;
{% endhint %}

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

## How to show color swatches on product cards

Foxify supports showing swatches on product cards (product listing).

After you have installed the extension and set up colors, follow the steps below:&#x20;

{% hint style="success" %}
Steps:

1. From the page editor, select **Add elements** (or press \[E]).
2. Open **App blocks**, select **Color Swatches**.
3. Drag the **Color swatch** element onto the product card element.
   {% endhint %}

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

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

:star: Learn more about customizing Product cards here:

{% content-ref url="/pages/CxEo7mK3FjWvkwN5VgX2" %}
[Product card](/foxify-app/foxstudio/add-and-edit-elements/product-card.md)
{% endcontent-ref %}


---

# 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.foxecom.com/foxify-app/page-management/app-extensions/color-swatches.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.
