This question already has an answer here:
- How to allow only one product in a cart? 6 answers
Been looking for something in this regard for a while, but have not been able to find a solution with a clean implementation guide. I just need to be able to limit the total number of items in the shopping cart - for example, a maximum of 7 total items, anything greater would throw an error message to the user (or something along those lines).
Any help would be much appreciated. Thank you!
P.S. - I'm a relative beginner when it comes to modifying Magento code on the back-end, so please do not be put off by what may seem to be a stupid question in response to any suggestions.