How do I limit cart2 to qty of 1 per product
Posted: Tue Dec 03, 2019 5:17 pm
I want to limit the quantity of items per SKU
e.g A user clicks on a product twice, and the cart only accepts 1 not 2 of the same product.
I want to limit users but querying the cart to see if the cart os holding a sku the turn the 'add item' button for that specific product off or disable it.
thanks
e.g A user clicks on a product twice, and the cart only accepts 1 not 2 of the same product.
I want to limit users but querying the cart to see if the cart os holding a sku the turn the 'add item' button for that specific product off or disable it.
thanks