Page 1 of 1

checkout for shopping cart

Posted: Fri Mar 26, 2004 9:16 am
by negar
i have done the main shopping cart code in php, however i have no idea how to do the checkout part....can anyone help
i used the shopping cart code at
http://www.macromedia.com/devnet/mx/dre ... _cart.html
however i have added a checkout button but i dont know how to store the order and empty the cart so that the next time i go to order the cart will be empty.
if you know of anysites with useful codes it would be much appreciated
Thanks

Posted: Sat Mar 27, 2004 10:06 am
by fb2003
Hello,
Well I'm here for the same QUESTION, this script is just where I was looking for, simple..fast..compact. But I also want some checkout option .. and maybe a small version of the cart.php to display on the main screen.

So who knows how to read the data from cart.php, and use it for checkout.php?

Thnx Frank.

Posted: Sat Mar 27, 2004 11:26 am
by qads
wow..you guys are not asking alot..are you? :P.

right, shopping cart is not something you wanna start with if you are new to php/mysql.

what you need to do is to learn how to insert and select database from mysql.

get [google]phpmyadmin[/google] and install it on your server, if you dont have a server installed with php / mysql on your own computer then you may wanna do that too, i suggest [google]appserv[/google]

read up on [google]mysql tutorials[/google] if you wanna learn it, but if you just wanna make the cart and get over with it then check out [google]php shopping cart tutorial[/google].

good luck