Hi, I'm trying to show categories from several parent categories. But the code I use in show_default is not working.
This is the code I use
foreach($this->categories as $category){
$categoryClass = hikashop_get('class.category');
$categoryClass->addAlias($category);
if($category->category_parent_id == '14')
$subcategory .= '<a href="'.hikashop_contentLink('category&task=listing&cid='.$category->category_id.'&name='.$category->alias,$category).'">'.($category->category_name).'</a>';}
Now the goal is to get him to work in listing_img_title.
How can I do it?