View Full Version : updating and deleting from shopping cart

06-17-2005, 02:07 PM
Does anyone have any good examples of how to update and delete items from a shopping cart. I'm using an Array to hold the items in the cart.

I display the items in a table by looping through the cart array. This works fine. But, not sure what the best approach is. I'd like to have one recalulate button inside the form (but outside the table loop) and update the records in the cart or delete them if the User enters zero in the quantity field.

Or....should I place a Recalculate button in the table. So, the button displays on each record? Or is there a better approach? Aby code examples would be very appreciated.

06-18-2005, 04:24 AM
why dont u use a pre-made shopping cart, it would save you time and you can customize the pre-made to wat ever you want

otherwise, i wouldnt be able to help you