{if $error ne ""}
{$error}
{/if}
{include file="blocks/profile_menu.tpl.html"}
{$smarty.const.PERSONAL_VIEWED_PRODUCTS}
{if $last_view_products}
{assign var="products_views_limit" value='12'} {if $last_view_products|@count > $products_views_limit} {assign var="products_to_show_counter" value=$products_views_limit} {else} {assign var="products_to_show_counter" value=$last_view_products|@count} {/if}
{section name=i loop=$last_view_products max=$products_views_limit}
{include file="product_slide.tpl.html" product_info=$last_view_products[i]}
{/section}
{else}
{$smarty.const.PERSONAL_VIEWED_EMPTY}
{/if}