Prev | Current Page 641 | Next

Emilian Balanescu and Cristian Darie

"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"

And then you implemented a secure customer checkout page with SSL
protection.
CHAPTER 16 ?–  MANAGING CUSTOMER DETAILS 541
Storing Customer Orders
The TShirtShop e-commerce application is shaping up nicely. We??™ve added customer account
management capabilities, and we??™re keeping track of customer addresses and credit card information,
which is stored in a secure way. However, we??™re not currently using this information in
our order tracking system, which was created in Phase II of development. We currently don??™t
associate an order with the account of the customer who placed that order.
In this chapter, we??™ll make the modifications required for customers to place orders that
are associated with their user profiles. This feature will allow us to track in our database the
orders placed by a particular customer and lay the foundation for implementing the order
pipeline and credit card transactions in the following chapters.
Also in this chapter, we??™ll take a look at dealing with tax and shipping charges. Many options
are available for implementing functionality to cope with these, but we??™ll just examine a simple
way of doing things and lay the groundwork for your own further development.
This chapter is divided into three parts as follows:
??? Enable customers to place orders through their accounts.
??? Modify the orders administration section to integrate the new features.


Pages:
629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653