{if $count} {foreach from=$products item=Product} {$this->renderProduct($Product, $productTpl)} {/foreach} {else}