• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cart library can store only 9 items???

#1
[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

#2
[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...

#3
[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

#4
[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 Smile

#5
[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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.