Wondering how to search by product tags in WooCommerce?
It’ll give your customers an extra way to search for products in your store and help them find what they’re looking for faster.
In this guide, we’ll show you the fastest way to enable search by WooCommerce product tags on your site with no coding needed.
Why Add Search by Product Tags
Allowing your visitors to search by product tags is helpful for several reasons.
First, tags are a great source of additional information about your products.
They are ideal for placing such data as product material, type, style, size, weight, and many other valuable attributes.
So, by making this data searchable, you can help your visitors discover your store and increase your sales.
Secondly, searching by tags is simply convenient.
For example, you can create a product collection and add a unique tag for it so that customers can find products from that collection faster.
With that, let’s see how you can make WooCommerce product tags searchable on your website.
How to Enable Search by WooCommerce Product Tags on Your Site
The easiest way to make WooCommerce product tags searchable on your site is to use a plugin like SearchWP.
SearchWP is the best WordPress search plugin used by over 30,000 website owners worldwide.
Thanks to seamless integration with WooCommerce, you can use the full power of SearchWP to customize your store search.
For instance, you can make product attributes searchable, limit search to specific product categories, track searches of your customers, and many more.
And this is just a short list of SearchWP features. Here are some other things you can do with this plugin:
- Enable search by product SKUs. Let your customers search for products by SKU to help them find what they’re looking for faster.
- Exclude specific products from search. Clean up your search results by hiding redundant products to make it easier for visitors to find the right products.
- Restrict product search to titles only. Make WordPress only consider product titles when performing searches to reduce the amount of clutter in search results.
- Add a custom WooCommerce search widget. Create an additional search engine, customize it to your needs, and link it to the search widget on your site.
After you’ve learned why SearchWP is the best WordPress search plugin, let’s see how you can use it to enable search by WooCommerce product tags.
Step 1: Install and Activate SearchWP on Your Site
To begin, you can grab your copy of SearchWP here.
After that, log in to your SearchWP account and click the Downloads tab in the dashboard.
Next, press the Download SearchWP button to download the plugin’s ZIP file to your computer.
After downloading, copy your SearchWP license key in the lower left corner.
Next, install and activate the SearchWP plugin on your WordPress website. Check out a detailed guide on how to install a WordPress plugin if you need help.
After installing SearchWP on your site, the next step is to activate your copy of the plugin.
To do that, go to your WordPress dashboard and click Activate License under the SearchWP button on the top bar.
Then, enter your SearchWP plugin license key in the License field and click Activate.
After activating the plugin on your site, the next step is to install an extension that allows you to integrate SearchWP with WooCommerce.
Step 2: Install and Activate the SearchWP WooCommerce Integration Extension
By installing this extension, you ensure seamless integration of SearchWP with WooCommerce.
To get started, navigate to SearchWP » Extensions in your WordPress dashboard.
Then, find the WooCommerce Integration extension and click Install.
After you’ve installed and activated the extension, you’re ready to start customizing your search engines to enable search by WooCommerce product tags.
Step 3: Add “Products” as a Search Source
To get started, click SearchWP in the left panel of your WordPress dashboard.
It’ll take you to the Engines tab in SearchWP settings, where you can manage your search engines created with this plugin.
As you can see, there is already the Default search engine, which SearchWP automatically creates after installation.
By customizing the settings of this search engine, you can change the way search works on your site.
For instance, you can limit your search to WooCommerce products only, put specific products at the top of your search results, and many more.
To let your customers search for WooCommerce products by tags, the first step is to add products as a search source.
To get started, click on the Sources & Settings button.
Then, check the checkbox next to the Products search source to make it active.
When you’re finished, click Done to save your changes.
Step 4: Make Product Tags Searchable
The next step is to add the Product tags taxonomy as a product attribute that WordPress pays attention to when performing a search.
To get started, click the Add/Remove Attributes button under the Product search source section.
Then, click on the Taxonomies field and choose the Product tags option from the drop-down menu.
If you want WordPress to ignore the default product attributes such as Title, Content, Slug, or Excerpt, you can simply uncheck the boxes next to them.
When you’re finished managing your taxonomies, click Done to save the changes.
The last step is to save your search engine. To do that, press the Save Engines button.
Then, click the Rebuild Index button to make WordPress reindex your content according to your new search engine settings.
That’s it. You’ve successfully enabled search by product tags on your site.
Let’s test your new search to make sure it works as it’s supposed to.
Step 5: Test Your New Search by Product Tag
To get started, go to your website and search for any product you have in your store by its tag.
For example, on our test site, we have a “Green hoodie” product with the “Womenswear” tag.
Let’s see if we can find this product by the tag only.
As you can see, we successfully found our product even though there is no word “womenswear” in its title or description.
It means that WordPress now considers product tags, and visitors can use them to find the product they want.
In this tutorial, you learned the fastest way to enable search by WooCommerce product tags.
It’ll help you improve your customers’ user experience, help them find the right products faster, and boost your sales.
If you’re ready to empower your WooCommerce search, you can get started with SearchWP here.
Want to make your WooCommerce search even smarter? Follow our how to make a smart WooCommerce product search beginner’s guide.
Looking for a way to exclude specific product categories from search results? Check out our how to hide category from search in WooCommerce detailed guide.