The process

After reviewing the order process of these three popular sites, we can establish a suitable order process of our own for our framework. In general, the process will look like this:

  1. View the basket.
    • Enter voucher code.
    • Select shipping method.
    • Review cost based on shipping and voucher code.
  2. Authentication:
    • Log in.
    • Register.
    • Do nothing — already logged in.
  3. Select delivery address.
  4. Select payment method.
  5. Order confirmation.
  6. Display payment details.
  7. Payment is made.
  8. Order is processed.

Let's discuss this in more detail now.

The basket

We have the basket, which we implemented in Chapter 6, The Shopping Basket. In here are all of the products the customer chooses to purchase. At the basket stage, we can add two simple features, which in some stores are separate ...

Get PHP 5 e-commerce Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.