The project task this week was to create a form in our final project using a PHP file. I created an Order form where the users enters shipping information including name, address , and payment information. They also have an option to check off a box called “My Shipping Address is the same as billing address”. If they uncheck this box, they can fill out a different shipping address if it different – more fields pop up. The user then clicks Process Order. This next screen says “Thank you for your order! “ and includes their name and address information that they filled in from the Order page. It uses a PHP file to read this information that is stored in variables. Everything seems to work.
However, I think logically that when ordering a product from an ecommerce site that the user would “Add to cart” as the first step, and then proceed to complete his shipping/billing information. So, I may change this later if we learn about adding Shopping Carts. I did attempt a Shopping Cart this week but was unsuccessful – I believe MySQL database is necessary. Hopefully, we will learn this as we go through the course.
http://webdev.ramapo.edu/~cdaleo/FinalProject/TEB_Master/Order/Order.html
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment