Allow only 1 product in Cart

Description

This Plugin gives you the functionality when the user clicks on Add to Cart button it’ll clear their previous cart data entirely and add new cart data, only allow one product purchase at a time.

Sometimes, the empty cart function does not work for login users and Persistent cart scenarios.

Installation

  1. Upload allow-only-1-product-in-cart folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the \’Plugins\’ menu in WordPress.
  3. That\’s it you are ready to go 🙂 .

Reviews

May 24, 2021
Hello There Thanks for this plugin it was amazing and the logic is completely amazing I am using this plugin on my site Relevant and Better!!
Read all 8 reviews

Contributors & Developers

“Allow only 1 product in Cart” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • First version.= 1.1 =
  • Minor Change.

1.2

  • Make Plugin Internationalization.