How to Search WooCommerce Products by Tag in WordPress?

Key Takeaways

  • Nexter Blocks includes a Search Bar block that allows users to search WooCommerce products by tags.
  • The Search Bar block enables AJAX Search, allowing for real-time product searches based on selected tags.
  • Users can display the number of products associated with each tag by enabling the Show Count toggle.
Table of Contents

In WooCommerce, you can categorize and organize products using tags. Letting customers search for products using tags can make their shopping experience better and help them quickly find what they’re looking for.

With the Search Bar block from the Nexter Blocks, you can easily allow users to search WooCommerce products by different tags.

To check the complete feature overview documentation of the Nexter Blocks Search Bar block, click here.

Requirement  – This block is a part of the Nexter Blocks, make sure it’s installed & activated to enjoy all its powers.

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

Then, add the Search Bar block on the page or template and follow the steps –

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

2. From the Select Taxonomy dropdown, select Product tags.

searchbar taxonomy product tags

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. 

You can show all the search results on load by enabling the All Result toggle.

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

3. Now go to Extra Option tab and enable the AJAX Search toggle.

searchbar ajax search 7

Now you can select a product tag from the dropdown to show all the products with that tag or you can directly search for products with a specific tag as well.

About the Author

Photo of Aditya Sharma CMO of NexterWP
CMO at POSIMYTH Innovations · NexterWP · 7 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.

WordpressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!