Weekly Top Sellers
{if $topSellItems}-
{assign var='position' value='0'}
{foreach from=$topSellItems item=i name=foo}
{assign var='position' value=$position+1}
-
{$i.sales} {$lang.sales} {if $i.free_file == 'true'} {$currency.symbol}{$i.price} {else} {$currency.symbol}{$i.price} {/if}
{/foreach}
{$lang.no_items}
{/if}
{$lang.three_monthly} {$endMonthlyDate|date_format:"%d %b %Y"}
{if $topMonthlyItems}-
{foreach from=$topMonthlyItems item=i name=foo}
{assign var='position' value=$position+1}
-
{$i.sales} {$lang.sales} {$currency.symbol}{$i.price}
{/foreach}
{$lang.no_items}
{/if}