__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).
Learner's Ratings
4.1
Overall Rating
67%
5%
16%
3%
9%
Reviews
A
Amit Kumar Gaur
5
Please make course on CodeIgniter 4.3 version.
CodeIgniter 3.x.x is too much old for now
#
#Tag
5
good
A
ajay kumar mishra
5
Very nice course
V
Vikash Chandra
5
Very Good Course But Mobile Me Video small dikhai deti hai complete samajh nahi aata.
M
Mr Manoj Kumar Heer
5
Good
B
babita rani
5
This is very useful
N
Nitish Kirtania
5
Good Job , Course very good or very easy to understand ...
Share a personalized message with your friends.