Skip to content

Plugin made for WooCommerce. Allows only one product per category in the cart. The latest added item stays, items of the same category that are already in cart are removed.

Notifications You must be signed in to change notification settings

madmonkeyworks/woo-one-product-per-category

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== Woo One Product per Category ===

Author: MadMonkey Author URL: https://madmonkey.works Donate: [email protected] Tags: woocommerce, products, product category, dependencies, restrict Requires at least: 4.6 Tested up to: 5.1 WC requires at least: 3.1 WC tested up to: 3.5 Stable tag: 1.0 Requires PHP: 5.2.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

== Description ==

Plugin made for WooCommerce. Allows only one product per category in the cart. The latest added item stays, items of the same category that are already in cart are removed.

Important: Requires WooCommerce 3.1+. WooCommerce 3.0+ or higher recommended.

== Installation ==

  1. Download the plugin.
  2. Go to your WordPress Dashboard and then click Plugins > Add New.
  3. Click Upload Plugin at the top.
  4. Click Choose File and select the .zip file you downloaded in Step 1.
  5. Click Install Now and Activate the plugin.

== Documentation ==

The plugin checks the cart when customer attempts to add a product and allows only one product per category in the cart. The latest added item stays, items of the same category that are already in cart are removed.

== Setup ==

To set up:

  • Go to the ** Products > Categories **
  • Select a category and go to * Edit category *
  • Check the "One Product per Category" option
  • Update to save the changes.

== Changelog ==

= 1.0 =

  • Initial release

About

Plugin made for WooCommerce. Allows only one product per category in the cart. The latest added item stays, items of the same category that are already in cart are removed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages