[ic] Re: Problems using an image for "remove" in the cart component

James Turnbull james at scotwebshops.com
Mon May 24 05:19:30 EDT 2004


> <INPUT TYPE=checkbox NAME="[quantity-name]"
> onClick="this.form.action='[process-target]', this.form.submit()"  
> VALUE=0>
>
> I've tried using a variant of the above, by changing the TYPE to image  
> and
> adding a SRC element and nothing useful happens when the image is  
> clicked,
> the cart/checkout simply refreshes with nothing removed.

This won't work - you need a chunk of perl code to remove the item, see  
here for a solution

http://www.icdevgroup.org/pipermail/interchange-users/2000-September/ 
000547.html

This also works if you want to use a text link to remove the item.

James



More information about the interchange-users mailing list