View Single Post
  #7  
Old 03-06-2015, 04:52 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Hide Category from sidebar

Quote:
Originally Posted by Hanypa
No, I would like to have igoods active but not show up in the category sidebar at all.

OK, got it.

In this case you need to create a module and decorate the getCategories() method of the \XLite\View\TopCategories class. There you should walk through each category object and put it into return array unless the category is not the same one you are in.

Please, let me know if it makes sense to you.

Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote