Ability to cap maximum quantity
tinamayswinkels opened this issue · comments
Issue: We have a product that is only ever purchased in a single quantity, and cannot figure out how to cap a maximum quantity.
What we would like to be able to do is cap the quantity to 1 so that pressing the buy button more than once never increases the quantity above 1.
Alternatively if that isn't possible it would be great to create an event that empties the cart when you click to close the cart or exit the page (effectively achieving the same thing). I have read the documentation but cannot figure out a possible solution.
Thanks in advance.