I am working on a very basic shopping cart.
How do I add the item when the 'add button' is clicked?
And would I put each item in an array to track total cart contents?
Thanks,
Cruse
How to add item to cart
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
There are loads of different ways of doing this and it's personal preference as to which one you choose. You might want to check out a shopping cart tutorial (fairly sure there's one on phpbuilder.com) or reverse engineer a cart from hotscripts.com.
Mac
Mac