Cart library can store only 9 items??? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Cart library can store only 9 items??? (/showthread.php?tid=22295) |
Cart library can store only 9 items??? - El Forum - 09-04-2009 [eluser]Nextneed[/eluser] Hi to all!!! I'm using Cart library from subversion and i've noticed that if i've got 9 items in the cart i can't add more items. Does someone have the same problem??? thanks in advance Luca Cart library can store only 9 items??? - El Forum - 09-04-2009 [eluser]Nextneed[/eluser] ... i'm investigating a bit, inside the cart library, the value of $this->_cart_contents['total_items'] in the _save_cart function is correct (10), but after the insertion, in the controller the value of total_items() is still 9... Cart library can store only 9 items??? - El Forum - 09-04-2009 [eluser]got 2 doodle[/eluser] make sure you are saving the session to the database and not the flash data check out my similar problem I had some problems with the total being incorrect also Are you having these problems too? doodle Cart library can store only 9 items??? - El Forum - 10-07-2009 [eluser]fourmi[/eluser] love it, got 2 doodle you aren't alone, the documentation says using a database for the session is 'important' sheesh, you'd think they'd make it obvious of sumfink ;p kickself #323455501 thanks for your post Cart library can store only 9 items??? - El Forum - 10-20-2009 [eluser]skunkbad[/eluser] I know this is an old thread, but if you don't want to use a database, you can extend the cart class to use the standard php $_SESSION array. It works just like if you used a database. |