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/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: How to limit the number of items in the cart library? (/showthread.php?tid=71855)



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