I have bought newest_products modification, so
I want add to this template: fts_newest_products_display.tpl
also the product price... but I don't know how... somebody can help me ??
Thanks in advance
Code:
{if $new_products|@count gt 0}
{capture name=newest_products}
<table width="100%" border="0" cellpadding="0" cellspacing="10">
{section name=i loop=$new_products}
{if %i.first% or %i.index% is div by 3}
<tr>
{/if}
<td width="33%" align="center" valign="top">
<a href="product.php?productid={$new_products[i].productid}" target="{$targetwin}">{include file="product_thumbnail.tpl" productid=$new_products[i].productid image_y=100 product=$new_products[i].product tmbn_url=$new_products[i].tmbn_url}
{$new_products[i].product}</a>
</td>
{if (%i.index% + 1) is div by 3 or %i.last%}
</tr>
{/if}
{/section}
</table>
{/capture}
{include file="dialog.tpl" title="Ultimi arrivi...." content=$smarty.capture.newest_products}
{/if}