One-Item-Allow-Cart
One-Item-Allow-Cart
Description
This plugin is restricts the number of products that can be added to the cart to just one. This means that if a customer adds a new product to the cart, any existing product will be removed automatically, ensuring that only one product remains in the cart.
How does One-Item-Allow-Cart work?
One-Item-Allow-Cart hooks into WooCommerce’s cart handling process and restricts the number of products allowed in the cart to just one. Whenever a new product is added to the cart, any existing product is removed automatically.
Installation
- Upload
one-item-allow-cartfolder to the/wp-content/plugins/directory. - Activate the plugin through the \’Plugins\’ menu in WordPress.
- That’s it you are ready to go.
Reviews
Changelog
1.0.0
- First version.