Cart library can store only 9 items??? |
[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
[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...
[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
[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
[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. |
Welcome Guest, Not a member yet? Register Sign In |