[eluser]the_unforgiven[/eluser]
Hi all,
Currently working with the shopping cart class and ive got working the insert in cart and to show the cart items but when i do update of qty nothing happens...
Here's the code:
Code:
function update_cart()
{
$update = array(
'rowid' => $this->input->post('rowid'),
'qty' => $this->input->post('qty')
);
$this->cart->update($update);
$this->session->set_flashdata('message','Your shopping cart has been updated!');
redirect('home/cart','refresh');
}
Just been referencing to the manual, so nothing used in terms of anyone elses classes or libs.
Help greatly appreciated.