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.
Table Of Content

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.

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

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. 

Woo commerce swatches 1 how to create woocommerce color swatches filter in elementor? From the plus addons for elementor

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. 

Woo commerce swatches attributes 2 how to create woocommerce color swatches filter in elementor? From the plus addons for elementor

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

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.

Woo swatches set color attribute how to create woocommerce color swatches filter in elementor? From the plus addons for elementor

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

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

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

Also, read How to Create WooCommerce Product Image Filter in Elementor.

About the Author

Photo of Aditya Sharma CMO of The Plus Addons for Elementor
CMO · The Plus Addons for Elementor · 10 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordPressElementorn8nAIClaudeAutomationServer
Get Instant Answers to all your questions about The Plus Addons for Elementor, trained on 1000+ Docs and Videos

Related Frequently Asked Questions

What if the color swatches filter is not showing up in my WooCommerce store?

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 > Extra Options > 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.

What are the best practices for creating color attributes in WooCommerce?

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.

Does the WP Search Filters widget support custom attributes?

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.

How do I assign a color attribute to a product in WooCommerce?

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.

Last reviewed: April 11, 2026