CartRules One Shipping Class in Cart for WooCommerce

CartRules One Shipping Class in Cart for WooCommerce

Details
View on WordPress

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

This is useful for stores where mixing shipping classes causes shipping calculation problems, for example freight vs. standard items, or products that must ship in separate boxes or from different warehouses.

Once activated, go to WooCommerce > Settings > CartRules > One Shipping Class 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-shipping-class-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
restrict-cart
shipping-class
woocommerce