how can i remove item in shopping cart classs..

how can i remove one item in shopping cart codeigniter. because if using $this->cart->destroy(); will remove all item..


If you set the quantity to 0 it will be removed
$data = array(
               'rowid' => 'b99ccdf16028f015540f341130b6d8ec',
               'qty'   => 0


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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