Answers for "write a class for storing item information as under: a) id , b) name, c) price implement shopping cart which provide the following functionalities a) maintain collection of items b) additem() c) deleteitem() d) cartvalue() // returns total cart value"

PHP
0

codeigniter.com cart

$data = array(
        'rowid'  => 'b99ccdf16028f015540f341130b6d8ec',
        'qty'    => 1,
        'price'  => 49.95,
        'coupon' => NULL
);

$this->cart->update($data);
Posted by: Guest on November-24-2020

Code answers related to "write a class for storing item information as under: a) id , b) name, c) price implement shopping cart which provide the following functionalities a) maintain collection of items b) additem() c) deleteitem() d) cartvalue() // returns total cart value"

Browse Popular Code Answers by Language