AdrianM2 Posted October 16, 2016 Share Posted October 16, 2016 (edited) Hi. I'm trying to figure out how to allow search of products that are inside disabled categories. I'm currently using search with Ajax turned on so my guess was to look inside "blocksearch" module but I can not find a line of code where products from disabled categories are set to not display in search results. ------------------------- Found the solutions myself Needed to edit "Search.php" in classes by adding to the "$results" sql statement "WHERE c.`active` = 1 OR c.`active` = 0" Edited October 16, 2016 by AdrianM2 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now