sorry for the long wait
Find this
$aCategory = osc_get_category('id', osc_item_category_id());
// remove
View::newInstance()->_erase('categories');
View::newInstance()->_erase('subcategories');
View::newInstance()->_exportVariableToView('category', $aCategory);
$l = array(
'url' => osc_search_category_url(),
'title' => osc_category_name()
);
$this->addLevel($l);
and Replace
$aCategory = osc_get_category('id', osc_item_category_id());
$parentCategory = osc_get_category('id', $aCategory['fk_i_parent_id']);
// remove
View::newInstance()->_erase('categories');
View::newInstance()->_erase('subcategories');
View::newInstance()->_exportVariableToView('category', $parentCategory);
$l = array(
'url' => osc_search_category_url(),
'title' => osc_category_name() );
$this->addLevel($l);
View::newInstance()->_exportVariableToView('category', $aCategory);
$l = array(
'url' => osc_search_category_url(),
'title' => osc_category_name()
);
$this->addLevel($l);
If this helps mark this as Solved