__construct() – Load the product model and cart library.
index() – Using the Product model's getRows() function, fetch products from the database. Product data is passed to the view and the product list view is loaded.
addToCart() — Retrieves information about a specific product based on its ID. Use the Cart class's insert() function to add a product to the cart.
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).
ajay kumar mishra
Very nice course
Very Good Course But Mobile Me Video small dikhai deti hai complete samajh nahi aata.
Mr Manoj Kumar Heer
This is very useful
Good Job , Course very good or very easy to understand ...
Share a personalized message with your friends.