Need a little help with the Cart class |
[eluser]bdegier[/eluser]
Hello, I'm spending my saturday finishing a simple shoppingcart i started building a while ago. I'm now trying to write some sort of an update cart function. - Before I continue: I'm not so experienced in the PHP field - I want users to be able to change the value of the quantity text fields, then press a button and the cart updates the quantity of all products currently in the cart. The User Guide has a short explanation about this: http://ellislab.com/codeigniter/user-gui.../cart.html But i can't quite figure out how to get the rowID's for the products and use this to update the cart. I wrote a very basic function to test the updating which works (hardcoded): Code: function updateCart() { All help will be GREATLY appreciated! Thanks, Bento
[eluser]bdegier[/eluser]
Got PMed this tutorial which somehow i was unable to Google http://nuazul.net/php/shopping-cart-usin...art-2.html Cheers. |
Welcome Guest, Not a member yet? Register Sign In |