Single Product in Cart
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.
Plugin info
Maintenance & Compatibility
Maintenance score
Stale • Last updated 313 days ago • 1 reviews
Is Single Product in Cart abandoned?
Likely maintained (last update 313 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
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.
Installation
- Upload the
single-product-in-cartfolder to the/wp-content/plugins/directory. - Activate the plugin through the Plugins menu in WordPress.
- Ensure WooCommerce is installed and activated.
That’s it! The plugin will automatically enforce a single-product cart.
Frequently Asked Questions
Yes, it works with all WooCommerce product types, including subscriptions.
Yes, customers can adjust the quantity of the single product in the cart.
The plugin ensures only the last added product remains in the cart, removing all others.
Yes, it works seamlessly with WooCommerce Blocks and the classic cart/checkout pages.
Review feed
Screenshots
Changelog
1.0.1
- Fixed bugs and errors.
1.0.0
- Initial release.