How to do a simple shopping cart???

xxxmen
xxxmen used Ask the Experts™
on
How to do a simple shopping cart ? Like i select a item it will capture the item and store it in a "somewhere" then when i log out to chk out it will able to display the items........

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
A nice tutorial for PhP:
http://www.devshed.com/Server_Side/PHP/Commerce/Commerce3/page10.html

Also you could use a Javascript shopping cart:
http://www.nopdesign.com/freecart/

Building a shopping cart is not so easy. But there is a lot of free CGI scripts out there you could use, look here for example:
http://www.hotscripts.com/CGI_and_Perl/Scripts_and_Programs/E-Commerce/Shopping_Carts/index.html

Commented:
yeah tbh its not the sort of thing that you just knock up in an afternoon...

I did have a link to a very good open source example... ill have a look around...

you could startout playing with cookies and text files as a means of storing items and recognising users... its a bit slap dash but its a good way to build up a basic knowledge and gain ideas... start simple!!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial