CartRules One Category in Cart for WooCommerce

CartRules One Category in Cart for WooCommerce

Details
View on WordPress

This plugin stops customers from mixing products from different categories in the same order. If a product is already in the cart, adding a product from a different category will either be blocked, or the cart will be emptied first, depending on the option you choose.

This is useful for stores that need to keep certain product categories separate at checkout, for example because they need different shipping, come from different suppliers, or are fulfilled differently.

Once activated, go to WooCommerce > Settings > CartRules > One Category in Cart to turn the restriction on and choose what should happen.

Works with both the classic, shortcode-based cart and checkout, and the newer WooCommerce Cart and Checkout blocks.

Details

Plugin code:
cartrules-one-category-in-cart-for-woocommerce
Plugin version:
1.0.0
Outdated:
No
WP version:
6.5 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.0.4
Total installations:
0
Last updated:
2026-08-13
Rating:
Times rated:
0
cart
checkout
product-category
restrict-cart
woocommerce