Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Shopping Cart - Move "Delete" Button next to Qty Box

Shopping Cart - Move "Delete" Button next to Qty Box

Locked

Views: 1,423

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
5 Feb 2009, 11:31 PM
#1
dave_nextexit avatar

dave_nextexit

New Zenner

Join Date:
Mar 2008
Posts:
57
Plugin Contributions:
0

Shopping Cart - Move "Delete" Button next to Qty Box

Hi all,

I think this one should be pretty straight forward...

On the Shopping Cart page, I want to move the "Remove" button from the right side of the table over next to the Qty box.

This is my site currently: http://www.eyemagic.net/store

Thanks,

Dave

8 Feb 2009, 9:19 PM
#2
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Shopping Cart - Move "Delete" Button next to Qty Box

includes/tempaltes/YOUR_TEMPALTE/tpl_shopping_cart_default.php

Lines 111-115

  if ($product['buttonDelete']) {
?>
           <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, 'action=remove_product&product_id=' . $product['id']); ?>"><?php echo zen_image($template->get_template_dir(ICON_IMAGE_TRASH, DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . ICON_IMAGE_TRASH, ICON_TRASH_ALT); ?></a>
<?php
  }

You may want to add a new column around line 74-75, and then insert this code in here. You would also have to add the column to the table header, around 55.

Absolute