PDA

View Full Version : PHP shopping cart tutorial



jc_gmk
10-16-2007, 03:44 PM
Does anyone know of a good tutorial for creating my own PHP shopping cart.

I already use PHP and MySQL and understand the basics very well.

Do you think it's worth while writing it from scratch or is there any good open-source scripts I can download.

Thanks.

djr33
10-16-2007, 06:04 PM
"good" is subjective because it will need to be a shopping cart YOU like using and understand how to maintain.
Writing from scratch is always better, if you have the time and can write it well. It will always fit your design/system best if molded to it. This may not be practical, though.

It isn't really that complex... just use sessions/users/database to store products as they are picked then let them check out and gather all the items. That's about it, plus any features you'd like to add.

Google some available scripts and see at least some examples, if not something workable.