This plugin is outdated and might not be supported anymore
Single Product in Cart

Single Product in Cart

Details
View on WordPress

The Single Product in Cart plugin ensures that only one product can exist in the WooCommerce cart at any given time. When a customer adds a new product to the cart, the plugin automatically removes any existing product and replaces it with the new one. This happens silently, without any warning messages.

This plugin is ideal for stores that want to enforce a single-product purchase flow, such as subscription-based services, exclusive product sales, or limited-time offers.

Key Features:

  • Ensures only one product is in the cart at a time.
  • Automatically replaces existing products when a new one is added.
  • Works seamlessly with WooCommerce cart and checkout pages.
  • No warning messages shown to customers during product replacement.
  • Compatible with both simple and variable products.

Credits

Developed by Piyush Jangid.

Details

Plugin code:
single-product-in-cart
Plugin version:
1.0.1
Outdated:
Yes
WP version:
5.6 or higher
PHP version:
7.4 or higher
Test up to WP version:
6.7.2
Total installations:
100
Last updated:
2025-02-21
Rating:
Times rated:
1
cart
checkout
ecommerce
single-product
woocommerce