Quote:
Originally Posted by Victor D
try to replace
Code:
function func_getallsubcat(){
$a =func_get_categories_list("", true, "all");
$b=$a['all_categories'];
$c=array();
foreach ($b as $k=>$v){
if($v['parentid']!="0")
$c[$v['parentid']][]=$v;
}
return $c;
}
$smarty->assign("allsubcategories", func_getallsubcat());
with
Code:
function func_getallsubcat(){
$a =func_get_categories_list("", true);
$b=$a['all_categories'];
$c=array();
foreach ($b as $k=>$v){
if($v['parentid']!="0")
$c[$v['parentid']][]=$v;
}
return $c;
}
$smarty->assign("allsubcategories", func_getallsubcat());
|
Thank you for your answer. Still, I get the same result with this change.
I cleaned up the templates' cache but same result.
You can see the problem in
my shop.
Best regards,
Andrew