Our brands

Answer for Ves Autosearch Category dropdown

Hello Kajal,
 
To show only top level categories in autosearch. Please try to edit the file “app/code/community/Ves/Autosearch/Block/Autosearch.php”
Then find code:
if($subcats != ”){
$html .= $this->getTreeCategories($category->getId(), (int)$level + 1, $caret.’ ’);
}
 
Remove it or comment it.

Share this Post!

Panda Thuan
Panda Thuan
Creativity is falling in love with the world
Do NOT follow this link or you will be banned from the site!