{* products and categories view *} {$MessageBlock} {if $smarty.const.CONF_UPDATE_GCV ne 1}
{/if} {* categories *} {* products *}
{"prdcat_category_title"|translate} {"prd_productlist"|translate}
{section name=i loop=$categories} {/section}
{'btn_collapse'|translate} {"prdcat_category_root"|translate} ({$products_in_root_category})  
{section name=j loop=$categories[i].level max=$categories[i].level}     {/section} {if !$categories[i].ExpandedCategory} {if $categories[i].ExistSubCategories} {'btn_expand'|translate} {else} {/if} {else} {if $categories[i].ExistSubCategories} {'btn_collapse'|translate} {else} {/if} {/if}   {$categories[i].name|default:"(no name)"} {if !$categories[i].ExpandedCategory} ({$categories[i].products_count_admin}) {else} ({$categories[i].products_count_category}) {/if}
[ {lbl_btn_edit} ]

[ {"btn_addcategory"|translate} ]

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

{else}
{"prdcat_category_root"|translate}:

{/if} {if $categoryID eq 1}

{"prd_msg_root_warning"|translate}

{/if} {if not $products && not $searched_done}

{"str_empty_category"|translate}

{else} {if $couldntToDelete eq 1} {"prd_msg_could_not_delete"|translate} {/if} {if $couldntToDeleteThisProducts} {"prd_msg_could_not_delete_these_products"|translate} {/if}
{if $searched_done} {/if}
{"str_search_products_in_this_category"|translate}
{$searched_count}
{if $GridRows} {include file="backend/gridheader.tpl.html"} {section name=i loop=$GridRows} {assign var=product_url value="?ukey=product_settings&productID=`$GridRows[i].productID`&categoryID=&expandCat="|set_query_html} {if $smarty.const.CONF_CHECKSTOCK eq 1} {/if} {* *} {/section}
{$GridRows[i].product_code|escape:'html'}  {$GridRows[i].name|escape:'html'} {if $GridRows[i].enabled ne 1}{lbl_prep_invisible_in_storefront}{/if} {$GridRows[i].customers_rating}  {$GridRows[i].picture_count} {$GridRows[i].thumbnail_count} {$GridRows[i].enlarged_count}{$GridRows[i].items_sold}{if !$GridRows[i].ordering_available}
{lbl_prd_ordering_not_available}
{/if}
{if $GridRows[i].picture_count ne 0} { {else}   {/if} {"btn_delete"|transcape}
 {include file="backend/lister.tpl.html"}
{/if}
{if $searched_done} {"str_show_all_product_in_this_category"|translate}   {/if} {if $products} {/if} {if !$searched_done} {/if}
{/if}