View Single Post
  #4  
Old 03-05-2006, 08:23 PM
 
Total Hosting Total Hosting is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 52
 

Default

And now, here are the cleaned up Update and Remove "buttons" for the cart. Remember, this is around line 59:
Code:
<div style="padding: 8px 0px;"> <table width="100%"><tr><td valign="top"> {if $js_enabled} {include file="buttons/button.tpl" button_title=$lng.lbl_update style="button" href="javascript: document.cartform.submit()" js_to_href="Y"} {/if}</td> <td valign="top"> {include file="buttons/button.tpl" button_title=$lng.lbl_delete_item style="button" href="cart.php?mode=delete&productindex=`$products[product].cartid`"} </td><td valign="top"> {if $products[product].product_options ne ''} {if $config.UA.platform eq 'MacPPC' && $config.UA.browser eq 'MSIE'} {include file="buttons/edit_product_options.tpl" href="javascript:window.open('`$catalogs.customer`/popup_poptions.php?target=cart&id=`$products[product].cartid`','POptions','width=400,height=350,toolbar=no,status=no,scrollbars=yes,resizable=no,menubar=no,location=no,direction=no');" js_to_href="Y"} {else} {include file="buttons/edit_product_options.tpl" href="javascript:window.open('`$catalogs.customer`/popup_poptions.php?target=cart&id=`$products[product].cartid`','POptions','width=400,height=350,toolbar=no,status=no,scrollbars=yes,resizable=no,menubar=no,location=no,direction=no');"} {/if} {/if}</td> </tr></table> </div>

Nice and simple!
__________________
Regards,

Peter Stoermer
http://www.TotalHosting.com for http://www.EmpowermentGroup.com
X-cart: 4.0.17
Reply With Quote