In this article, we will see how to create a Woocommerce Filter by Category using the below plugin.
Woocommerce Filter by Category is product search plugin for WooCommerce that allows your site customers filter products by categories, attributes, products tags, products custom taxonomies and price.
Supports latest version of the WooCommerce plugin. A must have plugin for your WooCommerce powered online store! Maximum flexibility!
If you are WP+PHP developer and you want to create something unusual in the search form interface – Welcome: using Woocommerce Filter by Category extension API and default extensions as an examples you can create any html-items for the search form and even custom woo-products loop template for your own purposes.
Also its possible to create any connectors for layout plugins.
- Download to your plugin directory or simply install via WordPress admin interface.
- Set product taxonomies in the plugin settings tab of the WooCommerce settings page
- Drop the Products Filter widget in the sidebar.
Woocommerce Filter by Category FEATURES:
✅ Representation: I can be used as Shortcode, so as the Widget. Special shortcode [woof] allows insert product filter in any part of your site. It is possible to show products taxonomies and attributes in the search form as: radio, checkbox, drop-down, multi-drop-down, radio buttons in drop-down. In the premium version also is possible to show html-elements as: color, image, label, hierarchy drop-down, attributes/taxonomy range-slider, checkbox buttons in drop-down
✅ Products shortcode: Products shortcode [woof_products per_page=8 columns=3 is_ajax=1 taxonomies=product_cat:9] allows to display and filter targeted products in a single page or as part of a post content, and of course products there are filterable in redirect or ajax mode. Using shortcode attribute custom_tpl it is even possible use custom templates what give wide flexibility in different projects.
✅ Products searching by AJAX: (optionally) allows filter woocommerce products without page reloading. Works for 95% wordpress themes and should be tested before release to the production site as it depends of the current wp theme functionality and integrated html code there
✅ Dynamic products recount: this powerful feature allows to display in the search form how many relevant variants will be found if to click selected html-element in the filter search form
✅ Filter woocommerce products by Meta Data: allows with using special functionality in the plugin settings page add meta fields data in the search flow (text and number type)
✅ Search products by SKU: WOOF allows filtering your shop products site by SKU as part of the big search form, so as the special shortcode [woof_sku_filter]
✅ Search products by Price: can be displayed as range slider, so as drop-down with ranges selection
✅ WooCommerce products text search by title, content, excerpt and their combinations. It is possible to use special shortcode [woof_text_filter] which you can insert in the place you want.
✅ Step by step products filter: this technology allows to create products wizard for your shop customers where they can step by step select products they want to buy
✅ Statistic: you can always analyze search data and understand what is more interested for your customers, and of course such data will help grow your bussiness
✅ Quick Search: this technology created especially for WOOF and allows make instant search regardless of the products quantity of products without AJAX or page reloading
✅ Turbo Mode: this mode allows to avoid generating big MySQL queries while products filtering on the site front
✅ Products Messenger: allows your logged-in customers subscribe to the products filter combinations and always be informed if in your shop appeared exact products they want to buy. Such tool can grow conversion of the shop. Use it as widget, so as shortcode [woof_products_messenger]
✅ Saver of Search query: this extension allows for your customers save search combinations and access them in future by one click what makes your customers more informative and attenditive about your shop products
✅ Infinite Scrolling: allows load and see woocommerce products on the shop and catalog page without click on pagination buttons
✅ Images can be as filter html-elements in the search form
✅ Colors can be as filter html-elements in the search form
✅ Price filter as range-slider OR as drop-down
✅ Showing hidden search form as BUTTON
✅ In the plugin settings for radio and checkboxes html-elements in the filter form can be selected different skins
✅ Possibility to create products custom layout template and use it with shortcode woof_products in ajax and redirect mode, see attributes custom_tpl and tpl_index
✅ Possible to create any extensions for the plugin (for developers only). See folder ‘ext’ for the code examples
✅ Demo site – watch filter combinations alive
✅ WOOF has wide API described in CODEX
✅ WOOF uses native WooCommerce API which allows coexisting and cooperation with another plugins created for WooCommerce
✅ WPML compatibility
✅ Compatible with For WooCommerce plugin Currency Switcher
✅ Compatible with WooCommerce Products Per Page
✅ PHP 5.4.x – 7.3.x full compatibility
✅ Simple, robust AND rich options panel