PDA

View Full Version : Need a solution quick!!! Webshop Shopping Cart question



Lucremonkey
January 14th, 2004, 03:32 PM
Hey people,
please look at the following screenshot:

http://oege.ie.hva.nl/~groot7n/Screen.jpg

This is a part of my webshop.
It displays one of the items you can buy.

Now, I want people to be able to see what they selected on a shopping cart. This shopping cart should be in the frame that says: 'Special Offers'

I want people to be able to fill out the quantity and select a size from a drop down box.

Then I want the Flash movie to add this stuff to the shopping cart.
I want my shopping cart to be a dynamic list that displays what the bought. It should look like this:

- Shopping Cart -
(Item 1) | (Quantity item 1)
(Total Price Item 1)
------------------------------------
(Item 2) | (Quantity item 2)
(Total Price Item 2)
------------------------------------
etc.

How can I make this? I want the list to add an item when people add it to their cart and be able to select an item and remove/edit it when needed.

Please help me quick since I need to finish this soon! :)
Thanks!

P.S. I also need to use the content of the shopping cart in PHP when people checkout so I can send them a confirm mail

thoriphes
January 14th, 2004, 03:49 PM
Hm...in this situation, I'd probably use arrays to keep track of the cart. But i'm not really experienced with this type of stuff (PHP), as i'm sure there's a better approach for this.

eyezberg
January 14th, 2004, 05:59 PM
http://www.robusttech.com/2002/flash-shopping-carts.htm
http://www.macromedia.com/support/flash/interactivity/droptarget/