This document references some of the most popular free mini-extensions for Mix and Match Product. These plugins extend the functionality of Mix and Match. Due to the complexity of these snippets, they are only available in plugin form.
To install any of the listed mini-extensions:
- Download the mini-extension.
- These plugins are hosted at Github, so you can download the zip file of the Latest Release. This is a normal plugin zip file that can be installed manually on your site like any other plugin by going to Plugins > Add New and clicking the “Upload Plugin” button.
- download them by clicking on the “Code” button and then selecting “Download ZIP”
- Ensure you have the latest version of WooCommerce and WooCommerce Mix and Match Products installed.
- In your site’s WordPress admin, go to Plugins > Add New > Upload Plugin and choose the zip file you just downloaded.
- Alternatively, upload the unzipped mini-extension’s folder to your /wp-content/plugins/ directory.
- Activate the mini-extension from the Plugins menu in WordPress.
NOTE: These plugins do not receive priority support and should be tested thoroughly before being used in production.
Not Sold Separately
↑ Back to topNot Sold Separately is a free mini-extension for Mix and Match that prevents products from being sold individually outside of a Mix and Match container.
When a product is marked as “not sold separately” that product’s add to cart button will not be accessible.
Setup
↑ Back to top- Edit a simple product and navigate to the “Inventory” tab in the product data metabox.
- For an individual variation, you can set the status in the variation options.
- Save the product/variation.
Hide from Catalog
↑ Back to topThe not sold separately products can be hidden from the main shop loop but by changing their Visibility to Hidden. The “Catalog Visibility” options for a product are visible in the Publish metabox when editing a product. See this screenshot:
Grouped Mix and Match
↑ Back to topMix and Match – Grouped Containers is a free mini-extension for Mix and Match that adds a “Grouped Mix and Match” WooCommerce Mix and Match. This product type groups multiple WooCommerce Mix and Match products together to allow customers to choose from different containers before making their selections. In a way, this approximates Variable products.
The Mix and Match products appear as options in a loop when viewing the Grouped product and when “Select Options” for one is clicked the related Mix and Match product loads and can be configured, then added to the cart.
Setup
↑ Back to top- Create a new product, and select the “Grouped Mix and Match” type from the product type dropdown selector.
- Then click on the “Linked Products” tab.
- Begin typing the name of one of your Mix and Match products in the “Grouped Mix and Match products”.
- From the search results select the desired product.
- Repeat 3 & 4 until you have all the related Mix and Match products you wish to group together.
- Note: This is exactly the same process as for core grouped products.
Mobile Styles
↑ Back to topMix and Match – Mobile Styles is a free mini-extension for Mix and Match that the counter status message into a sticky footer that is always visible.
This is a great for helping customers know how many more items they need to purchase.
No configuration is required.
Filters
↑ Back to topMix and Match – Filter by Term is a free mini-extension for Mix and Match that that allows a customer to filter the allowed products by any product taxonomy.
Setup
↑ Back to topIn the “Mix and Match” tab of the Product Data metabox you will now see a dropdown option for “Filter container options by taxonomy”. You can choose any taxonomy associated with the product post type such as product categories, product tags, or your custom attributes.
Multi-term versus Single-term filtering
↑ Back to topBy default, customers can select multiple terms to narrow their search. For example, Category A + Category B will display products in both.
If you’d prefer to only search by a single term at a time, then you can add the following snippet to your child theme’s functions.php
.
add_filter( 'wc_mnm_filters_support_multi_term_filtering', '__return_false' );