{* products and categories view *} {if $smarty.const.CONF_UPDATE_GCV ne 1}
{/if}

{* categories *} {* products *}
{$smarty.const.ADMIN_CATEGORY_TITLE} {$smarty.const.ADMIN_PRODUCT_TITLE}
{section name=i loop=$categories} {/section}
   {if $categoryID == 1} {$smarty.const.ADMIN_CATEGORY_ROOT} {else} {$smarty.const.ADMIN_CATEGORY_ROOT} {/if} ({$products_in_root_category})  
{section name=j loop=$categories[i].level max=$categories[i].level}     {/section} {if !$categories[i].ExpandedCategory} {if $categories[i].ExistSubCategories} {else} {/if} {else} {if $categories[i].ExistSubCategories} {else} {/if} {/if}   {if $categoryID == $categories[i].categoryID} {$categories[i].name} {else} {$categories[i].name} {/if} {if !$categories[i].ExpandedCategory} ({$categories[i].products_count_admin}) {else} ({$categories[i].products_count_category}) {/if}
[ edit ]

[ {$smarty.const.ADD_NEW_CATEGORY_BUTTON} ]

{if $categoryID ne 1}
{$category_name}:

{else}
{$smarty.const.ADMIN_CATEGORY_ROOT}:

{/if} {if $categoryID eq 1}

{$smarty.const.ADMIN_ROOT_WARNING} {/if} {if not $products && not $searched_done}

{$smarty.const.STRING_EMPTY_CATEGORY}
{else} {if $couldntToDelete eq 1} {$smarty.const.COULD_NOT_DELETE_THIS_PRODUCT} {/if} {if $couldntToDeleteThisProducts} {$smarty.const.COULD_NOT_DELETE_THESE_PRODUCT} {/if}
{if $searched_done} {/if}
{$smarty.const.ADMIN_SEARCH_PRODUCT_IN_CATEGORY}
{$searched_count}
{if $products} {if $smarty.const.CONF_CHECKSTOCK eq 1} {if $navigatorHtml} {/if} {else} {if $navigatorHtml} {/if} {/if} {if $smarty.const.CONF_CHECKSTOCK eq 1} {/if} {section name=i loop=$products} {if $smarty.const.CONF_CHECKSTOCK eq 1} {/if} {/section}
{$navigatorHtml}
{$navigatorHtml}
{$smarty.const.ADMIN_PRODUCT_ENABLED}
{$smarty.const.ADMIN_PRODUCT_CODE}
{$smarty.const.ADMIN_PRODUCT_NAME}
{$smarty.const.ADMIN_PRODUCT_RATING}
{$smarty.const.ADMIN_PRODUCT_PRICE}, {$smarty.const.STRING_UNIVERSAL_CURRENCY}
{$smarty.const.ADMIN_PRODUCT_INSTOCK}
{$smarty.const.ADMIN_PRODUCT_PICTURE} {$smarty.const.ADMIN_PRODUCT_THUMBNAIL} {$smarty.const.ADMIN_PRODUCT_BIGPICTURE}
{$smarty.const.ADMIN_PRODUCT_SOLD}
{$smarty.const.ADMIN_ADD_PRODUCT_INTO}
{$smarty.const.ADMIN_SORT_ORDER}
 
{$products[i].product_code}   {$products[i].name}  {$products[i].customers_rating}  {if $products[i].in_stock < 0} ({$smarty.const.ADMIN_INSUFFICIENT_IN_STOCK}) {/if} {$products[i].picture_count} {$products[i].thumbnail_count} {$products[i].enlarged_count} {$products[i].items_sold} {if $products[i].picture_count ne 0} {$smarty.const.ADMIN_ADD_SPECIAL_OFFERS} {else}   {/if} {$smarty.const.DELETE_BUTTON}
{/if}
{if $searched_done} {$smarty.const.ADMIN_SHOW_ALL_PRODUCT_IN_THIS_CATEGORY}   {/if} {if $products} {/if} {if !$searched_done} {/if}
{/if}

[ {$smarty.const.ADD_NEW_PRODUCT_BUTTON} ]