Allow Only 1 Product in Cart

Allow Only 1 Product in Cart

Details
View on WordPress

This plugin ensures that users can only purchase one product at a time.
When a logged-in user clicks the “Add to Cart” button, any existing cart content is cleared — allowing only the new product to remain.

Perfect for scenarios like bookings, appointments, or exclusive product sales where only one item should be bought per order.

Note: This plugin works only for logged-in users. Guest users are not affected.

Details

Plugin code:
allow-only-1-product-in-cart-for-woocommerce
Plugin version:
1.2
Outdated:
No
WP version:
4.0 or higher
PHP version:
5.6 or higher
Test up to WP version:
6.9
Total installations:
500
Last updated:
2025-07-18
Rating:
Times rated:
9
add-to-cart
customer
one-product
product
woocommerce