MrBaseball34 Posted September 23, 2010 Share Posted September 23, 2010 PS v1.2.5When I click on a category, it shows the subcategories for that category.I do not want to show sub categories that have no products.I know I'm going to have to modify Category->getSubCategories() but I'mnot sure how to write the SQL to place a product count in the results so I can test if it == 0in category.tpl.Has anyone already done this? My searches don't find anything. Link to comment Share on other sites More sharing options...
CTDAN Posted September 27, 2010 Share Posted September 27, 2010 what do you intend to happen when the user clicks a category with no sub cats? Link to comment Share on other sites More sharing options...
MrBaseball34 Posted September 27, 2010 Author Share Posted September 27, 2010 Not show the subcats, perhaps? 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