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>
</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}&cat={$cat}&page={$navigation_p age}{if $featured eq 'Y'}&featured{/if}" class="white">More Info</a></td>
<td><img src="{$ImagesDir}/but2.gif" alt="" /></td>
</tr>
</table>
</td>
__________________
xcart 5.1.2
|