Is there any way to limit the amount of items a user can have in their cart? I know I can put quantity limits per item, but thats not what I need. We have an application where we want to only allow users to have three items in their cart for any single order. Can this be set somewhere?
TIA
There is no such setting to limit number or items in the cart, but should be relatively simple to alter in the code
There is "$this->cust_data" array in core/lib/cart.php class. This needs to be limited your requirement.
Thank you for the reply, but I am not versed in php programming.
If you know what the code should read, I can modify the file.
Thanks again!
There are few things that needs to be changed. It would not be as simple as adding a line of code.
This might be a good feature to have for other users, if you are willing to contribute, we can have it done for you and other future versions.
PM if interested in more details.