Hi,
The thing is that you're not supposed to have several layers of brands.
I've actually spent the time to look at that and display properly the brands in the explorer, but you might experience other issues when doing that so I would recommend against it.
The modifications to do are:
if($typeConfig['mode'] == 'list')
to:
$mode = !empty($options['mode']) ? $options['mode'] : @$typeConfig['mode'];
if($mode == 'list')
(3 itmes in the file) in the file administrator/components/com_hikashop/classes/category.php
$ret = $nameboxType->getValues($search, 'category', $options);
to:
$type = 'category';
if($category_id){
$categoryClass = hikashop_get('class.category');
$category = $categoryClass->get($category_id);
if($category->category_type=='manufacturer'){
$type = 'brand';
$options['mode'] = 'tree';
}
}
$ret = $nameboxType->getValues($search, $type, $options);
in the file adminsitrator/components/com_hikashop/controllers/category.php
and:
if((!empty($typeConfig['mode']) && $typeConfig['mode'] == 'list') && empty($typeConfig['options']['olist']['table']) && !is_string(reset($elements))) {
to:
$mode = !empty($options['mode']) ? $options['mode'] : @$typeConfig['mode'];
if($mode == 'list' && empty($typeConfig['options']['olist']['table']) && !is_string(reset($elements))) {
in the file administrator/components/com_hikashop/types/namebox.php