Hi,
Is there a way that the shopping cart can be set to maximum number of products i.e. a user is only allowed to add one of each products to the shopping cart?
Thanks
Rob
Hi,
Is there a way that the shopping cart can be set to maximum number of products i.e. a user is only allowed to add one of each products to the shopping cart?
Thanks
Rob
Do you know PHP?
I think you need to use this hook to do that: $GLOBALS['ISO_HOOKS']['addProductToCollection']
See the file IsotopeProductCollection.php for details how that hook operates. Its return value is a quantity for that product, so I am assuming you can regulate the amount of each product and product types even...
Hi Ruud
Thanks for this feedback, I do not know PHP that well but I will have a look into your suggestion!
Rob
Hi Rob,
Yes, it is possible to force min/max on shopping cart max number of products. I've used it to do both for a client. It does require hooking in as Ruud mentions, not a large project. Contact me fred.bliss@intelligentspark.com and we can talk about your needs.
Bookmarks