Category Combination Restrictions for WooCommerce
v1.0Senff - a11n · 2026年5月23日 上架
Prevent customers from mixing products from conflicting categories in their cart.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 480
- 最近更新
- 2026年8月25日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+
贡献者
截图
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


