View Single Post
  #7  
Old 04-15-2009, 04:17 PM
 
Pretty Scrappy Pretty Scrappy is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 42
 

Default Re: Adding a button beside wishlist

Sorry for posting again i forgot to add my code

Code:
<table cellspacing="0" cellpadding="0"> <tr> <td>{include file="buttons/add_to_cart.tpl" style="button" href="javascript: if(FormValidation()) document.orderform.submit();"}</td> <td> </td> <td> {if ($login ne "" || $config.Wishlist.add2wl_unlogged_user eq 'Y') && $active_modules.Wishlist ne ""} {include file="customer/add2wl.tpl"} {/if} </td> <td> <a href="javascript:(function(){var s=document.createElement('script');s.type='text/javascript';s.src='http://www.kaboodle.com/zg/addbutton.js?v=0.1';document.getElementsByTagName('head')[0].appendChild(s);})();"> <img src="http://www.kaboodle.com/ht/mk/img/kbutton1.gif" width="129" height="26" border="0" alt="Add To Kaboodle" /></a> </td> </tr> </table>


Quote:
Originally Posted by balinor
You'll see the add to cart and add to wishlist buttons in this area:

Code:
<td>{include file="buttons/add_to_cart.tpl" style="button" href="javascript: if(FormValidation()) document.orderform.submit();"}</td> <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td> {if ($login ne "" || $config.Wishlist.add2wl_unlogged_user eq 'Y') && $active_modules.Wishlist ne ""} {include file="customer/add2wl.tpl"} {/if} </td>

Just add another table cell and add your code there, like this:

Code:
<td>{include file="buttons/add_to_cart.tpl" style="button" href="javascript: if(FormValidation()) document.orderform.submit();"}</td> <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td> {if ($login ne "" || $config.Wishlist.add2wl_unlogged_user eq 'Y') && $active_modules.Wishlist ne ""} {include file="customer/add2wl.tpl"} {/if} </td> <td>Your code here</td>
__________________
Rachael Bullion
www.prettyscrappy.com
Version 4.1.11
Reply With Quote