by Piyush Jangid on WordPress.org
Allows only one product in the WooCommerce cart at a time. When a new product is added, it replaces the existing product without any warning.
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.
Developed by Piyush Jangid.