Chapter 23. Creating a Shopping Cart Mechanism

In this hands-on chapter, you will integrate a shopping cart mechanism and checkout procedure into the basic storefront display that you created in Chapter 22, "Creating an Online Storefront." You will be shown the methods for creating the relevant database tables as well as the scripts for adding and deleting cart items. Once again, the examples used in this chapter represent only a few of an infinite number of possibilities to complete these tasks and are meant as working examples rather than the definitive guide for building an online store.

In this chapter, you will learn

  • How to create relational tables for the shopping cart and checkout portion of an online store

  • How to create the scripts to add and remove cart items

  • Some methods for processing transactions, and how to create your checkout sequence

Sams Teach Yourself PHP, MySQL And Apache All in One
Sams Teach Yourself PHP, MySQL and Apache All in One (3rd Edition)
ISBN: 0672328739
EAN: 2147483647
Year: 2004
Pages: 327 © 2008-2017.
If you may any questions please contact us: