Title: Store Front / Shopping Cart ($$$)
Course: PHP/MySQL Course

Read about the Shopping Cart application in chapter 22 and 23 from page 433-458

Try to understand the code line by line and overall. Email me if you need a description of what any of the code does or for me to make a video that would help. Use the student forum to talk to the other students about how the code works.

1. get the code working as it is shown in the book up to page 455

2. now change the code by adding this additional feature:

We want you to add a check out method that is very old school.

Add a link to the bottom on the shopping Cart page shown on page 454 named: checkout

When a user clicks this link, the user should be presented with a screen to allow them to enter the following information:

Full name
email address
mailing address
phone number

This information does not have to be stored into a database for this exercise.

The user then submits this information and the following should happen:
1. shipping, tax and a grand total should be calculated. (Assume shipping is always $5.00 and tax is 8.85% of the total)

2. You are emailed a notification of checkout that has the users information they just filled out, and a listing of everything on their shopping cart, tax, shipping, and grand total and of course the date and time of the checkout.

2. the user should be emailed something formatted as a invoice form with all the information they filled out, the list of the shopping cart, tax, shipping, and a total amount due, they should have instructions at the bottom of the form to mail it with a check for the total amount back to you for processing.

3. After these two emails are sent, the contents of the current shopping cart should all be removed and the next page displayed should be the list of products (the My Categories page from page 440).

submit a link to the main page here when you are done.