I have installed the shopping cart with rewards side box and merged it with the images and checkout button in cart sidebox. Now, I am trying to add a remove from cart button after each product. I have the button showing but it doesn't work correctly. It returns teh user to the shopping cart page and at that time you can remove items from the sidebox but it only removes the last item added. I have changed the file name for the icon so that I could have a smaller icon.

Code:
$content .= '<a href="'.zen_href_link(FILENAME_SHOPPING_CART, 'action=remove_product&product_id=' . $product['id']). '">'. zen_image($template->get_template_dir(ICON_IMAGE_TINYTRASH, DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/'.ICON_IMAGE_TINYTRASH, ICON_TRASH_ALT).'</a></li>';