Shipping And Payment Info
If the cart is not empty then we show the shipping and payment form like shown below. You can see the code for this page here. Nothing really interesting in that code because it simply displays a form where the customer can fill in here shipping and payment information.
In case the shipping and payment info are the same, the customer can tick the checkbox that says 'Same as shipping information' and using javascript the payment info fields will have the same value as the shipping info. It's just added for convenience so the customer don't have to repeat all those typings. And lastly she must choose the payment method. The shop can handle payment using Paypal but if the customer is not comfortable with it she can just choose Cash on Delivery. When the form is submitted we don't save the info to database yet. They are just passed to the next page ( the order confirmation page ) as hidden input. Showing the confirmation page is important so that the customer can recheck their info and make sure everything is okay. |
| Best place for Beer Pong Tables Big Discounts! | |
|
|
Online Shop - Checkout | PHP MySQL Shopping Cart Tutorial : Online Shop - Shipping And Payment Info | Online Shop - Checkout Confirmation Page |
|
At long last i'm finally able to update this site. Now the shopping cart can handle payment through paypal. As always you have any critiques, questions, comments or problems about this tutorial please tell me. Click here to send your feedback. And if you like this tutorial please link to this site. It will really help a lot :-) |
PHP MySQL Shopping Cart Tutorial
Copyright © 2005 - 2010 www.phpwebcommerce.com