---
title: "How to Create WooCommerce Color Swatches Filter in Elementor?"
url: https://theplusaddons.com/docs/create-woocommerce-color-swatches-filter-in-elementor/
date: 2023-09-14
modified: 2026-04-11
author: "Aditya Sharma"
description: "Color swatches filter is an important feature for online stores that offer products with different colors. It allows customers to filter products based on their preferred color, making it easier..."
image: https://theplusaddons.com/wp-content/uploads/2023/09/How-to-Create-WooCommerce-Color-Swatches-Filter-in-Elementor_-1024x536.jpg
word_count: 534
---

# How to Create WooCommerce Color Swatches Filter in Elementor?

## Key Takeaways

- WP Search Filters widget from The Plus Addons for Elementor allows users to add a color swatches filter for WooCommerce products.
- To create a color attribute, users must navigate to Products > Attributes in the Dashboard and select Color from the Type dropdown.
- Users can manage item columns for desktop, tablet, and mobile when using the WP Search Filters widget.

Color swatches filter is an important feature for online stores that offer products with different colors. It allows customers to filter products based on their preferred color, making it easier for them to make a purchase. 

With the WP Search Filters widget from The Plus Addons for Elementor, you can easily add a color swatches filter for WooCommerce products.

*To check the complete feature overview documentation of The Plus Addons for Elementor WP Search Filters widget, [click here](/docs/wp-search-filters-widget-settings-overview/).*

***Requirement  - This widget is a part of The Plus Addons for Elementor, make sure its installed & activated to enjoy all its powers.***

[LIVE WIDGET LINK](https://theplusaddons.com/elementor-listing//#search-filter-wgts?utm_source=tpae&utm_medium=docs&utm_campaign=text)

To do this, make sure you’ve added some products to your WooCommerce store, then you have to create a color attribute and assign them to some products.

### Enable WooCommerce Swatches

But first, you have to enable The Plus Addons for Elementor swatches option. To do this -

1. From the Dashboard, go to **The Plus Addons **> **Extra Options** ** **> **Settings**.

2. Scroll down to the **WooCommerce Swatches** section and enable it. 

![](https://theplusaddons.com/wp-content/uploads/2023/09/woo-commerce-swatches-1.png)

### Create a Color Attribute

1. To create a color attribute, from the Dashboard, go to **Products** > **Attributes**.

2. On the next page, add a name in the **Name** field and select **Color** from the **Type** dropdown then click on the **Add attribute** button. 

![](https://theplusaddons.com/wp-content/uploads/2023/09/woo-commerce-swatches-attributes-2.png)

3. Once the attribute is created, click on the **Configure terms** link.

4. On the next page, add a name in the **Name** field and color in the **Color **field then click on the **Add new Color** button.

![woocommerce add color attribute item](https://theplusaddons.com/wp-content/uploads/2023/09/woocommerce-add-color-attribute-item.gif)

Following this process, you can add multiple items.

### Assign Color Attribute

1. Edit a product.

2. Scroll down to the **Product Data** section and click on **Attributes**. 

3. Click on the dropdown and select your color attribute option.

4. In the **Value(s)** field, add the values, once done click the **Save attributes** button.

5. Then update the page.

![](https://theplusaddons.com/wp-content/uploads/2023/09/woo-swatches-set-color-attribute.gif)

### Use the WP Search Filters Widget

You have to use the WP Search Filters widget with the Product Listing widget.

> *Note: Make sure you’ve enabled both WP Search Filters and Product Listing widgets from The Plus Settings.*

Place the widgets in your desired location on the page or template, then follow the steps -

1. In the Product Listing widget, select **Search List **from the **Product Listing Types** dropdown.

![product listing search list](https://theplusaddons.com/wp-content/uploads/2023/08/product-listing-search-list.png)

2. Then select the appropriate style and layout.

3. In the WP Search Filters widget, open the **Category** item under the **Filter Area**.

4. From the **Filter Type** dropdown, select **Woo Filter**. 

5. Then select **Color** from the **Select Source** dropdown. 

6. Select **Taxonomy** from the **Select Type** dropdown.

7. After that, select **Product Attribute** from the **Select Taxonomy** dropdown. 

8. Finally, from the **Select Attributes** dropdown, select your color attribute.

> *Note: The list will only show global attributes, not any custom attributes.*

![wp search filters product attributes color](https://theplusaddons.com/wp-content/uploads/2023/09/wp-search-filters-product-attributes-color.gif)

Now you'll be able to see a color filter that you can use to filter products.

From the **Show Count** toggle, you can show the product count.

Then from the **Tooltip toggle**, you can show a tooltip on hover with the product count.

You can also manage item columns for desktop, tablet and mobile.

![wp search filters product attributes color demo](https://theplusaddons.com/wp-content/uploads/2023/09/wp-search-filters-product-attributes-color-demo.gif)

Also, read [How to Create WooCommerce Product Image Filter in Elementor](https://theplusaddons.com/docs/create-woocommerce-product-image-filter-in-elementor/).

## Frequently Asked Questions

**Q: What if the color swatches filter is not showing up in my WooCommerce store?**
A: If the color swatches filter isn't appearing, first ensure that you've enabled the WooCommerce Swatches option in The Plus Addons for Elementor. Go to The Plus Addons &gt; Extra Options &gt; Settings and check the WooCommerce Swatches section. If it's enabled and still not showing, verify that you've created and assigned color attributes to your products correctly.

**Q: What are the best practices for creating color attributes in WooCommerce?**
A: When creating color attributes, use clear and descriptive names for each attribute to avoid confusion. Select 'Color' from the Type dropdown when adding an attribute, and ensure you add specific color terms that match your product offerings. This helps customers easily identify and filter products by color, enhancing their shopping experience.

**Q: Does the WP Search Filters widget support custom attributes?**
A: No, the WP Search Filters widget only shows global attributes, not custom attributes. When setting up the widget, make sure to select your color attribute from the Select Attributes dropdown, as only global attributes will be available for filtering. This limitation is important to keep in mind when planning your product attributes.

**Q: How do I assign a color attribute to a product in WooCommerce?**
A: To assign a color attribute to a product, edit the product in WooCommerce, scroll to the Product Data section, and click on Attributes. Select your color attribute from the dropdown and input the values in the Value(s) field. After saving the attributes, remember to update the product page to apply the changes.
