checkout for shopping cart

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
negar
Forum Newbie
Posts: 9
Joined: Mon Mar 15, 2004 10:36 am

checkout for shopping cart

Post 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
fb2003
Forum Newbie
Posts: 1
Joined: Sat Mar 27, 2004 10:06 am

Post 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.
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post 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
Post Reply