{? $mas_category = $obj_ishop->get_mas_nested_category(0,false,false) }
{if sizeof($mas_category) }
{foreach from = $mas_category value="category"}
{? $mas_inferiorcategory = $obj_ishop->get_mas_nested_category($category["id_category"],false,false) }
{if $category["image"] }

{/if}
{$category["name"]}{if $masConfig["ON_VIEW_QUANTITY_PRODUCT_CATEGORY"]}{ft_get_quantity_elms($data_quantity,$category['id_category'],true,"span","category_general_block_data_one_quantity")}{/if}
{*if sizeof($mas_inferiorcategory)}
{/if*}
{*if sizeof($mas_inferiorcategory) }
{foreach from = $mas_inferiorcategory value="podcategory" }
-
{$podcategory["name"]}{if $masConfig["ON_VIEW_QUANTITY_PRODUCT_CATEGORY"]}{ft_get_quantity_elms($data_quantity,$podcategory['id_category'],true,"span","category_general_block_data_one_quantity")}{/if}
{/foreach}
{/if*}
{/foreach}
{*
*}
{else}
Нет категорий...
{/if}