Interchange Developer Resource


[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

RE: [ic] one click erase cart contents



> > 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

Oops.  That's what I get for answering before reading the question.
What you *really* want is:

mv_todo=cancel

In your [button] or <INPUT>.  Merry Christmas,

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

_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: