I'm working in OScommerce on shopping_cart.php where originally the user had to check a box and then hit the update button to remove the item from the shopping cart. I've managed to get the checkbox to remove the item automatically, but what I'd like to do is replace the checkbox with an image. (that works in the same fashion)
The code below (starting with (tep_draw_checkbox_field) does what I want it to do, but when I try something similar with 'tep_image_submit' or 'tep_image_button' it doesn't work.
Thank you for any help/advice you can give me.
$info_box_contents[$cur_row] = array('align' => 'center',
'params' => 'class="productListing-data" valign="top"',
'text' => tep_draw_checkbox_field('cart_delete', $products[$i]['id'],'', 'onclick="document.cart_quantity.submit();"',false));//auto update cart