![]() |
A simple problem with CodeIgniter Cart Library - 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: A simple problem with CodeIgniter Cart Library (/showthread.php?tid=35553) |
A simple problem with CodeIgniter Cart Library - El Forum - 11-03-2010 [eluser]dojolab[/eluser] Hello, I have e simple problem with CodeIgniter Cart Library; this is my 'add' method of my Cart Controller. Code: function add() { Where is the problem? When I added the FIRST product/item to cart there is no problem. When I added the SECOND product/item to cart (by add method), the item is not inserted... Why? The POST debug works correctly! Thanks for reply! A simple problem with CodeIgniter Cart Library - El Forum - 11-03-2010 [eluser]LuckyFella73[/eluser] I don't know if that is the problem (would be helpful to see your "insert" and "add" method) but in case Code: $this->session->userdata('cart_sid') == FALSE know if you need that information to be passed to your methods? A simple problem with CodeIgniter Cart Library - El Forum - 11-03-2010 [eluser]dojolab[/eluser] Thanks for reply. The problem is not the rewritten of array ($data); i have used debug for test it. ![]() |