You must send an array containing the Row ID and one or more pre-defined properties to the $this->cart->update() method to update the information in your cart. The item will be deleted from the cart if the quantity is set to zero.
By default the upload routine expects the file to come from a form field called userfile , and the form must be a "multipart type:
You can have a config file loaded automatically by the system if you find that you need it globally. To do so, go to application/config/autoload and open the autoload. php file.