SearchWP

News

How to Search by Product Tags in WooCommerce (Fastest Way)

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 Poster for Twitter

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.

navigate to the Downloads tab

Next, press the Download SearchWP button to download the plugin’s ZIP file to your computer.

click Download SearchWP

After downloading, copy your SearchWP license key in the lower left corner.

copy your SearchWP license key

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.

choose the Activate License option

Then, enter your SearchWP plugin license key in the License field and click Activate.

press the Activate button

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.

go to the Extensions tab

Then, find the WooCommerce Integration extension and click Install.

install the WooCommerce Integration extension

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.

go to the SearchWP settings

It’ll take you to the Engines tab in SearchWP settings, where you can manage your search engines created with this plugin.

the list of your search engines

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.

click Sources and Settings

Then, check the checkbox next to the Products search source to make it active.

activate the Products search source

When you’re finished, click Done to save your changes.

press Done when you're finished managing your search sources

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.

click Add Remove attributes

Then, click on the Taxonomies field and choose the Product tags option from the drop-down menu.

how to search by product tags in WooCommerce

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.

you can uncheck other product attributes

When you’re finished managing your taxonomies, click Done to save the changes.

press Done to save your changes

The last step is to save your search engine. To do that, press the Save Engines button.

press Save Engines

Then, click the Rebuild Index button to make WordPress reindex your content according to your new search engine settings.

click Rebuild Index

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.

click Find Search

As you can see, we successfully found our product even though there is no word “womenswear” in its title or description.

we found our product by the tag

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.

Want to make your search awesome right now?

More than 30,000 sites have chosen SearchWP!

You can utilize all of the content that’s gone unrecognized by native WordPress keyword search instantly with SearchWP.

Get SearchWP for just $99

  • Committed Support
    If you need help, support is fast, friendly, and here for you
  • Streamlined Setup
    Installation and setup that’s optimized for speed
  • Great Documentation
    Helpful, clear, and usable documentation is a priority

See what SearchWP customers have to say

  • “Jonathan, the developer, was very responsive to my questions and even made me some custom code modifications. Wonderful service!”

  • “Outstanding support. We were able to get really good tailored search results using SearchWP. Give it a go and if you get stuck, use the FAQs and support and you’ll be fine.”

  • “SearchWP combines an incredible amount of flexibility with a design that makes it easy to use. Its power lies in the near infinite level of customization. Literally every aspect of your content can be assigned a level of importance.”