CodeIgniter Forums
How to limit the number of items in the cart library? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: How to limit the number of items in the cart library? (/thread-71855.html)



How to limit the number of items in the cart library? - castle - 10-02-2018

Hello,

I hope any one can help me. How would you limit the number of items in the current (I now is a deprecated library) shopping cart? I want to limit to just one purchase at time, but I cannot find a way to do that.

Cheers,
Castle