Категории интернет-магазина
{ foreach from = $obj_ishop->get_mas_nested_category(0,false,false) value = "category" }
-
{$category["name"]}{if $masConfig["ON_VIEW_QUANTITY_PRODUCT_CATEGORY"]}{ft_get_quantity_elms($data_quantity,$category['id_category'],true,"span")}{/if}
{? $mas_podcategory_ishop = $obj_ishop->get_mas_nested_category($category["id_category"],false,false)}
{if sizeof($mas_podcategory_ishop) > 0 }
{*+
*}
{/if}
{if sizeof($mas_podcategory_ishop) > 0 }
{foreach from = $mas_podcategory_ishop value = "podcategory" }
-
- {$podcategory["name"]}{if $masConfig["ON_VIEW_QUANTITY_PRODUCT_CATEGORY"]}{ft_get_quantity_elms($data_quantity,$podcategory['id_category'],true,"span")}{/if}
{/foreach}
{/if}
{/foreach}