Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- You try edit in file : app/code/community/Gala/Rainbowsettings/Helper/Data.php about line 220 :
- Code :
- try{
- $children = $parent->getChildrenCategories();
- if(count($children) > 0){
- foreach($children as $cat){
- $result .= $this->getCategoriesCustomSearch($cat,$curId);
- }
- }
- }
- catch(Exception $e){
- return '';
- }
- Change :
- if($parent->getLevel() == 1){
- try{
- $children = $parent->getChildrenCategories();
- if(count($children) > 0){
- foreach($children as $cat){
- $result .= $this->getCategoriesCustomSearch($cat,$curId);
- }
- }
- }
- catch(Exception $e){
- return '';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement