Not Sold Separately for WooCommerce WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Restrict WooCommerce products from being sold outside a Mix and Match product
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/backcourt/wc-not-sold-separately/releases/download/2.5.1/wc-not-sold-separately-2.5.1.zipLimit WooCommerce products to being sold only as part of a Mix and Match product.
Quickstart
This is a developmental repo. Clone this repo and run composer install && npm install && npm run build
or
| Download latest release |
|---|
Usage
- 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.
When visiting the single product page, the add to cart button should now be gone:

And that particular variation should not be visible when visiting a variable product page.
However, the product can still be purchased as part of a container:

Compatibility Requirements
Mix and Match 2.0.0
Automatic plugin updates
Plugin updates can be enabled by installing the Git Updater plugin.
Important
- This is proof of concept and does not receieve priority support.
- At this time, only Mix and Match containers are supported.
Releases
8 releases. Each count is every asset in that release; expand a row for the breakdown.
Active-site estimate ≈10 comes from the median of recent superseded releases. Method.