Appendix A. Appendix

Now we will see a last-minute addition to the book—the cart library. This library was added in CI 1.7.2 and is a very interesting addition to an already great framework. In this appendix we will see a very small example, just to explain the key points of this library.

We will see:

  • What we need to use the library
  • Adding products to the cart
  • Showing the cart
  • Updating the cart

What we need to use the library

In order to use this library, we will need CI version 1.7.2, so if you have been following this book with a previous version, download version 1.7.2 and unzip it. We have unzipped it in a folder called codeigniterc. If you do the same, you will be able to check your CI installation in http://localhost/codeigniterc/. Once this is ...

Get CodeIgniter 1.7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.