Help Center

How to Filter WooCommerce Products by Attributes

Learn how to filter WooCommerce products by their attributes using the JetSmartFilters plugin for your WordPress website.

Before you start, check the tutorial requirements:

  • Elementor (Free version), Block editor (Gutenberg), or Bricks

  • WooCommerce plugin installed and activated

  • JetSmartFilters plugin installed and activated

The JetSmartFilters plugin allows you to filter WooCommerce product grids by their attributes. Visitors will be able to filter products by attribute values, such as length, size, color, type, etc.

Set the Product Attributes

The first step is to add product attributes and terms in the WordPress Dashboard > Products > Attributes tab. Then, you need to set the attributes and terms in WooCommerce products. For more instructions, follow the How to Create Product Attributes in WooCommerce tutorial.

jetsmartfilters filter for product attributes

Create a Filter

Now, proceed to the WordPress Dashboard > Smart Filters > Add New tab.

Specify the Filter Name, select the Filter Type (“Select,” “Radio,” “Visual,” or “Checkboxes list”), and the “Taxonomies” Data Source. In the Taxonomy dropdown, select a particular product attribute. Save the settings by clicking the “Update” button.

jetsmartfilters filter for product attributes

Add a Filter and Assign it to the Products Grid

Open the Shop page template in the Elementor editor and add the specific JetSmartFilters widget (with the same name as the created filter) to the appropriate section. 

In the widget settings, set the created filter in the Select filter dropdown.

In This filter for, set the filter provider (“JetWooBuilder Products Grid”, in our case).

Other adjustments can be made according to your needs. After that, save the page.

attribute filters on the shop page template

That’s all. Now you know how to filter WooCommerce products by their attributes with the help of the JetSmartFilters plugin for your WordPress website.

Was this article helpful?
YesNo

Need help?

Ask Facebook community

Get answers from 30K+ Crocoblock Community experts from all over the world.

Start a live chat

Ask question to support agent and share its details via chat messages.