View Single Post
  #5  
Old 03-04-2009, 06:20 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: How to add "View details" button instead of "Add to wishlist" in products.tpl?

{if $js_enabled}
{if $special_offers_add_to_cart eq 'Y'}
<td>{include file="buttons/add_to_cart.tpl" style="button" href="javascript: document.orderform_`$product.productid`_`$product. add_date`.submit();"}</td>
{else}
<td>{include file="buttons/buy_now.tpl" style="button" href="javascript: document.orderform_`$product.productid`_`$product. add_date`.submit(); return false;"}</td>
{/if}

<td>
&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td><img src="{$ImagesDir}/but1.gif" alt="" /></td>
<td class="Button"><a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_p age}{if $featured eq 'Y'}&amp;featured{/if}" class="white">More Info</a></td>
<td><img src="{$ImagesDir}/but2.gif" alt="" /></td>
</tr>
</table>

</td>
__________________
xcart 5.1.2
Reply With Quote