problem soft
this is how its done if anyone else needs it.
There are two steps to getting this process to work:
1. change the form element for the checkbox to an image, setting the src= to a delete button image on your site and then adding a call to JavaScript client behavior to submit the form when the button is clicked. The code that begins like this:
<input type="checkbox" value="<?php echo $shoeCart->DisplayInfo("ID"); ?>" name="shoeCart_Delete_<?php echo $shoeCart->DisplayIndex; ?>">
Should be changed to look like this:
<input name="shoeCart_Delete_<?php echo $shoeCart->DisplayIndex; ?>" type="image" onClick="MM_callJS('document.shoeCart_Display.submits();')" value="<?php echo $shoeCart->DisplayInfo("ID"); ?>" src="WA_eCart/Images/Modular_delete.gif" border="0">
2. Next you will need to insert a hidden form element that has the exact same value settings as the Update Cart button. I copied the code for the Update Cart button:
<input type="image" name="shoeCart_Update" src="WA_eCart/Images/S3A_UpdateCart.gif" alt="Update Cart">
and pasted it just after the code for the delete button above, then I changed the code to make the element a hidden field instead of an image field:
<input type="hidden" name="shoeCart_Update" src="WA_eCart/Images/S3A_UpdateCart.gif" alt="Update Cart">
then I removed the src= and alt= from the input tag as they were no longer needed:
<input type="hidden" name="shoeCart_Update">
By making the delete button submit the value it passes to the Update Cart function in the include file, the Quantity for the selected ID gets set to 0, effectively deleting it from the cart. The hidden Update Cart element is detected and causes the Update Cart function to run.
The image Modular_delete.gif is one of the standard images that come with WA DataAssist. I've attached the sample page from the BlueSky Footwear site for you to review.