[ic] one click erase cart contents

Dan Browning interchange-users@interchange.redhat.com
Thu Dec 20 19:15:00 2001


> i'm trying to figure out the correct way to do this, i'm 
> using interchange 4.8.2 with the foundation
> template.   i want to provide a button or link that when 
> pressed it will clear everything in the
> cart.  what is the correct way to write the ic routine to do that?
> 
> thanks,
> 
> ./chad&

This one gets asked a lot.

<!-- Empty main shopping cart
	[calc]
	    @{$Carts->{$CGI->{mv_cartname} || 'main'}} = ();
	    return;
	[/calc]
-->

HTH,

Dan Browning
Sr. Tech Consultant
Kavod Technologies
<dan.browning@kavod.com>