codeigniter Shopping Cart for CodeIgniter Delete items from your shopping cart $deleteItem = array('rowid' => 'b99ccdf16028f015540f341130b6d8ec', 'qty' => 0); This will delete the item with the rowid $this->cart->update($data).