[ic] basket & refresh

Javier Martin interchange-users@lists.akopia.com
Thu May 17 05:42:01 2001


Hello everyone...

I'm new to the list and I'm just starting up with IC, so bear with me if
they are just plain stupid questions:

1. How do I programatically add an item to the basket? For example, imagine
that you click to buy a photograph camera, but camera needs batteries and a
charger to work, so you also add these to the cart for the user, leaving
them the option of cancelling the items if they want.

2. If I refresh the basket page, the last item adds and adds again to the
cart, how do I avoid that?

Thanks,
Javier Martin