BACK TO DIRECTORY

CartRules One Category in Cart for WooCommerce

by Rodolfo Melogli

0.0
(0 ratings)

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.

Why upgrade to CartRules PRO?

This plugin only restricts the cart by category. CartRules One in Cart PRO replaces it, and every other free CartRules plugin, with a single plugin that handles every rule type and gives you more control over how each one behaves.

Every rule type, in one plugin

  • Category, tag, brand, shipping class, product type, any custom taxonomy, or individual products, instead of installing a separate plugin per rule type.
  • Unlimited rules, each with its own settings, managed from one screen: WooCommerce > Settings > CartRules > One in Cart PRO.

More control per rule

  • Scope a rule to specific groups instead of “any one at a time” (for example, only keep “Gift Cards” separate, and let everything else mix freely).
  • Choose what happens when a rule is broken: block the new product with a message, or empty the cart and add it, decided separately for each rule.
  • Flags other cart restrictions already running on your store, whether from a free CartRules plugin or your own custom code, so two rules never silently conflict.
  • Works with both the classic cart and checkout and the WooCommerce Cart and Checkout blocks.

Get CartRules One in Cart PRO

Plugin Details

Active Installs
0
Total Downloads
222
Version
1.0.4
Requires WP
6.5
Requires PHP
7.4
Tested Up To
7.1
Added
2026-08-13
Last Updated
2026-09-08 8:55am GMT

Ratings

5
0
4
0
3
0
2
0
1
0