Tag Archives: plugin

Search by Product Tag for Woocommerce

Downloadwoocommerce-searchbyproducttag-0.3.1.zip

Download at wordpress.org

UPDATE 14/03/2014: Version 0.3.1 has been released on wordpress.org get it using the download above. It removes all duplicates and has compatibility with WPML plugin as well as testing up to wordpress 3.8.1 and woocommerce 2.1.5

The default install of woocommerce does not come with any searching capabilities based on the tags that can be assigned to each product.

I have written this plugin to add this capability to the search on both the front end of your woocommerce site and in the wordpress admin site. There is no extra config apart from installation and activation of the plugin.

You can search by multiple tags by splitting your search with a comma. For example to search for all products tagged with toys and helicopter enter into the search box: “toys, helicopter” and all products with those tags will be returned in the search.

The search functionality in woocommerce doesn’t search by product tags by default. This simple plugin adds this functionality to both the admin site and regular search. It is very useful if you want to add some extra meta information to a product that will increase the discoverability on certain products.

If you have any issues or feedback feel free to leave a comment on this post and I will try and sort is as soon as possible

Disclaimer: This plugin does a mysql query with several joins upon each search. If you have an extremely large store (Eg 20, 000 products) you may be better off using a more generic search solution that builds its own optimised indexes for more speedy searching. If however you own a comparatively small store (less than 5, 000 products) this plugin will probably suit you better.

(Image Credit Patrick Feller  Flickr)

Search by SKU for Woocommerce

Download: Search by product SKU v 0.6.1

I recently completed a project that had a requirement for site users to be able to search for woocommerce products by the SKU (Stock keeping Unit). I looked at using relevanssi search but the configuration was a headache and seemed a little overkill to add the search for something very specific.

Plugin Description: The search functionality in woocommerce doesn’t search by sku by default. This simple plugin adds this functionality to both the admin site and regular search. If a product variation is matched the parent is returned otherwise it will try and match on a regular product stock keeping unit.

Changelog

Version 0.6.1

Better compatibility with Relevanssi search plugin

Version 0.6.0

Minor release functionally – Major release development wise :)

  • Compatibility with Woocommerce layered nav widget!
  • Fix issue with search results appearing in strange places.
  • Compatibility with Woocommerce Price filter widget!
  • Fix issue with incorrect result count.

This is probably the most significant release of the plugin so far as it addresses most of the issues previously raised, so please keep all bug reports / enhancement suggestions coming :)

Version 0.5

  • Improved support for sites running wpml for translations in woocommerce

Version 0.4

  • Remove hidden products from search results
  • “Total Found” search count works in more themes.

Old Versions

If anyone wants to revert back to an older version of the plugin at any point they are still hosted here: http://code.mattyl.co.uk/wordpress-plugins/searchbysku/old/

If you have used any of my plugins successfully why not throw me a few $ here:

(Photo Credit Allan on Flickr https://www.flickr.com/photos/misteral/)