{if $count} {foreach from=$products item=Product} {include file=$productTpl Product=$Product} {/foreach} {else}