O'Reilly logo

PHP 5 e-commerce Development by Michael Peacock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required