December 2013
Intermediate to advanced
306 pages
6h 26m
English
"Why do I need to do this; I'm not using sessions at the moment and besides, I have already covered sessions in another recipe?" I know; I hear you; but the CodeIgniter Cart class makes use of sessions in order to build a cart for the customer or user. We'll go over sessions here with the Cart class in mind. If you've already implemented sessions, you can probably skip this recipe.
Before we launch into the cart example, we need to do a little housekeeping. First, we'll alter some config settings, which will allow CodeIgniter to save Cart information to the database, and then we'll create a simple database schema to handle products, and so on.
There are some ...
Read now
Unlock full access