Title: Category Combination Restrictions for WooCommerce
Author: Senff - a11n
Published: <strong>May 23, 2026</strong>
Last modified: May 23, 2026

---

Search plugins

![](https://ps.w.org/category-combination-restrictions-for-woocommerce/assets/icon-
256x256.png?rev=3547459)

# Category Combination Restrictions for WooCommerce

 By [Senff – a11n](https://profiles.wordpress.org/senff/)

[Download](https://downloads.wordpress.org/plugin/category-combination-restrictions-for-woocommerce.1.0.zip)

 * [Details](https://wordpress.org/plugins/category-combination-restrictions-for-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/category-combination-restrictions-for-woocommerce/#reviews)
 *  [Installation](https://wordpress.org/plugins/category-combination-restrictions-for-woocommerce/#installation)
 * [Development](https://wordpress.org/plugins/category-combination-restrictions-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/category-combination-restrictions-for-woocommerce/)

## Description

Category Combination Restrictions for WooCommerce lets you define pairs of product
categories whose items can never appear in the cart at the same time. The restriction
is bidirectional: if a product from Category A is in the cart, products from Category
B cannot be added, and vice versa.

### Features:

 * Define unlimited category restriction pairs
 * Fully bidirectional — one rule covers both directions
 * Supports category hierarchies (subcategories inherit parent restrictions)
 * Disabled add-to-cart buttons on shop and product pages with a clear explanation
 * Option to show the explanation (for why a product can’t be added) with a clear
   message, or a tooltip

## Screenshots

[⌊Settings screen⌉⌊Settings screen⌉[

Settings screen

[⌊Product can not be added (shop page)⌉⌊Product can not be added (shop page)⌉[

Product can not be added (shop page)

[⌊Product can not be added (product page)⌉⌊Product can not be added (product page
)⌉[

Product can not be added (product page)

## Installation

#### Installation from within WordPress

 1. Visit **Plugins > Add New**.
 2. Search for **Category Combination Restrictions**.
 3. Install and activate the Category Combination Restrictions plugin.
 4. Go to **WooCommerce  Settings  Category Combination Restrictions** to start setting
    up restrictions.

#### Manual installation

 1. Upload the entire `category-combination-restrictions-for-woocommerce` folder to
    the `/wp-content/plugins/` directory.
 2. Visit **Plugins**.
 3. Activate the Category Combination Restrictions plugin.
 4. Go to **WooCommerce  Settings  Category Combination Restrictions** to start setting
    up restrictions.

## FAQ

### What does it do exactly?

Sometimes you do not want customers to purchase products from specific different
categories at the same time. For example, they can buy something from the TOYS category,
and they can buy something from the CLOTHING category, but not at the same time.
So once they have a product from the TOYS category in the cart, they can’t add something
from the CLOTHING category, or vice versa. This plugin lets you do that and restricts
products from certain categories to be in the cart together.

### Why?

Maybe products from Category A are shipped from one warehouse, and products from
Category B are shipped from another warehouse, and you want every order to contain
products from the same warehouse.

Or maybe products from Category C have free shipping, and products from Category
D require shipping costs and having those products in the same order complicates
your shipping.

There’s a few situations where this will be useful!

### I want people to be able to order TOYS and APPAREL  WOMEN together, but not any -other- subcategories from APPAREL (MEN and KIDS).

Don’t create a restriction between TOYS and APPAREL. Instead, you would need to 
set up 2 restrictions:
 – TOYS and APPAREL  MEN – TOYS and APPAREL  KIDS With this
setup, TOYS can be purchased together with products from APPAREL  WOMEN, but TOYS
can not be purchased with products from any other subcategory in APPAREL.

### I need more help please!

If you’re not sure how to use this, or you’re running into any issues with it, post
a message on the plugin’s [WordPress.org support forum](https://wordpress.org/support/plugin/category-combination-restrictions-for-woocommerce).

### I’ve noticed that something doesn’t work right, or I have an idea for improvement. How can I report this?

Category Combination Restrictions’s community support forum at https://wordpress.
org/support/plugin/category-combination-restrictions-for-woocommerce would a good
place, though if you want to add all sorts of -technical- details, it’s best to 
report it on the plugin’s Github page at https://github.com/senff/WooCommerce-Category-
Combination-Restrictions/issues . This is also where I consider code contributions.

### My question isn’t listed here?

Please go to the plugin’s community support forum at https://wordpress.org/support/
plugin/category-combination-restrictions-for-woocommerce and post a message. Note
that support is provided on a voluntary basis and that it can be difficult to troubleshoot,
and may require access to your admin area. Needless to say, NEVER include any passwords
of your site on a public forum!

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Category Combination Restrictions for WooCommerce” is open source software. The
following people have contributed to this plugin.

Contributors

 *   [ Senff – a11n ](https://profiles.wordpress.org/senff/)

[Translate “Category Combination Restrictions for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/category-combination-restrictions-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/category-combination-restrictions-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/category-combination-restrictions-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/category-combination-restrictions-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/category-combination-restrictions-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial release.

## Meta

 *  Version **1.0**
 *  Last updated **2 months ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.9.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [cart](https://wordpress.org/plugins/tags/cart/)[categories](https://wordpress.org/plugins/tags/categories/)
   [restrict](https://wordpress.org/plugins/tags/restrict/)[restrictions](https://wordpress.org/plugins/tags/restrictions/)
 *  [Advanced View](https://wordpress.org/plugins/category-combination-restrictions-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/category-combination-restrictions-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/category-combination-restrictions-for-woocommerce/reviews/)

## Contributors

 *   [ Senff – a11n ](https://profiles.wordpress.org/senff/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/category-combination-restrictions-for-woocommerce/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://donate.senff.com)