cameronbailey Posted October 23, 2007 Share Posted October 23, 2007 Does anyone know how to make a remove button for each individual product in the cart, instead of having a checkbox? I know where to place the code, I'm just not sure what to use. This is the code for an update button: tep_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART) I figure I could write my own for the remove button, but I'm not sure what that code references. What file should I be adding to or modifying to make my own remove function? Quote Link to comment Share on other sites More sharing options...
usernamenone Posted October 30, 2007 Share Posted October 30, 2007 The image and code is already in your shopping_cart.php. The box is next to the product image and the update button is below the shopping cart. You just need to make your images/buttons/button_update_cart.gif smaller and move this code up next to where it calls for the check box around line 113 <?php echo tep_image_submit('button_update_cart.gif', IMAGE_BUTTON_UPDATE_CART); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.