---
title: "How to Search WooCommerce Products by Category in Elementor?"
url: https://theplusaddons.com/docs/search-woocommerce-products-by-category-in-elementor/
date: 2023-09-13
modified: 2026-04-10
author: "Aditya Sharma"
description: "By categorizing products, you can make it easier for customers to find what they are looking for. However, if you have a large inventory of products, it can be difficult..."
image: https://theplusaddons.com/wp-content/uploads/2023/09/How-to-Search-WooCommerce-Products-by-Category-in-Elementor_-1024x536.jpg
word_count: 315
---

# How to Search WooCommerce Products by Category in Elementor?

## Key Takeaways

- The Plus Addons for Elementor Search Bar widget allows users to search WooCommerce products by category.
- Users can enable AJAX Search by default in the Extra Option tab of the Search Bar widget.
- The Select Taxonomy dropdown must be set to product_cat to filter products by category.

By categorizing products, you can make it easier for customers to find what they are looking for. However, if you have a large inventory of products, it can be difficult to navigate through them all. By allowing users to search products by category you can help them find the product they are looking for.

With the Search Bar widget from The Plus Addons for Elementor, you can easily allow users to search WooCommerce products by category. 

*To check the complete feature overview documentation of The Plus Addons for Elementor Search Bar widget, [click here](/docs/search-bar-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/plus-search-filters/advanced-wp-ajax-searchbar/?utm_source=tpae&utm_medium=docs&utm_campaign=text)

To do this, make sure you’ve added some products to your WooCommerce store.

Then, add the Search Bar widget on the page or template and follow the steps -

1. Open the item under **Search Bar** and select **Taxonomy **from the **Source** dropdown.

2. From the **Select Taxonomy **dropdown, select **product_cat**.

![search bar product category](https://theplusaddons.com/wp-content/uploads/2023/09/search-bar-product-category.png)

Now, you should be able to see a dropdown beside the search bar.

In the **Label** field, you can add a label name for the select dropdown.

In the **Placeholder** field, you can add a placeholder text for the select dropdown. 

From the **Show Index** toggle, you can show the number of products the item has in numbers.

> *Note: You can click on the +Add Item button to use both product and product category as filters as well.*

3. Now go to **Extra Option** tab and make sure the **AJAX Search** is enabled.

![search bar ajax search](https://theplusaddons.com/wp-content/uploads/2023/09/search-bar-ajax-search.png)

> *Note: The AJAX Search will be enabled by default.*

Now you can select a product category from the dropdown to show all the products in that category or you can directly search for products within the category as well.

Also, read [How to Add Keyword Suggestions Below Search in Elementor](https://theplusaddons.com/docs/add-keyword-suggestions-below-search-in-elementor/).

## Frequently Asked Questions

**Q: What should I do if the Search Bar widget isn't showing the product categories?**
A: If the Search Bar widget isn't displaying product categories, ensure that you've selected 'product_cat' from the Select Taxonomy dropdown in the widget settings. This step is crucial because it defines which taxonomy the search will filter by. If categories are still missing, check that you have added products to your WooCommerce store, as the widget requires existing categories to function properly.

**Q: What are the best practices for setting up the Search Bar widget for WooCommerce?**
A: When setting up the Search Bar widget, it's best to enable AJAX Search, which is turned on by default. This feature allows for real-time search results as users type, improving usability. Additionally, consider adding a clear label and placeholder text for the dropdown to guide users in selecting categories, making the search process intuitive.

**Q: Does the Search Bar widget support keyword suggestions for WooCommerce products?**
A: The Search Bar widget does not inherently include keyword suggestions, but you can implement this feature by following the tutorial on [adding keyword suggestions below search in Elementor](https://theplusaddons.com/docs/add-keyword-suggestions-below-search-in-elementor/). This can enhance user experience by providing relevant suggestions as they type.
