[ic] Background cart modification..

Dan Browning interchange-users@interchange.redhat.com
Thu Nov 29 19:39:01 2001


> I have been searching high and low, and I can't seem to find 
> a single command that deletes the cart without having the 
> user submit a form telling it to erase the cart.
> 
> I know IC is dynamic and great, but is there way to erase the 
> current cart?
> 
> I tried
> 
> [delete_cart MAIN]
> 
> with no success.  Do I need to modify some session variables 
> in order to get rid of it? Thanks in advance! -Brendan

This one should get into the FAQ.

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

Dan Browning
Kavod Technologies