Skip to content

Dynmamic Term Filtering for WooCommerce Mix and Match Products

Notifications You must be signed in to change notification settings

kathyisawesome/wc-mnm-filter

Repository files navigation

WooCommerce Mix and Match - Filter by Terms

Quickstart

This is a developmental repo. Clone this repo and run npm install && npm run build
OR

Download latest release

What's This?

Experimental mini-extension for WooCommerce Mix and Match that allows a customer to filter products by any product taxonomy.

A group of products shown changing depending on which category button is clicked

Multi-term versus Single-term filtering

By default, customers can only search by a single term at a time.

If you'd prefer to select multiple terms to narrow their search. For example, Category A + Category B will display products in both, then you can add the following snippet to your child theme's functions.php.

add_filter( 'wc_mnm_filters_support_multi_term_filtering', '__return_true' );

Important

  1. This is proof of concept and not officially supported in any way.
  2. Currently, only tested with grid layout.
  3. Version 2.1 now requires Mix and Match 2.4.

Automatic plugin updates

Plugin updates can be enabled by installing the Git Updater plugin.