milkman15 Posted March 31, 2014 Share Posted March 31, 2014 Hello I can't seem to find an answer (so feel to redirect me if need be), anyways I'm trying to find out how to list subcategories (if there are any) instead of products (if there are products, then they would show up instead) when you go to a category page. Can anyone help me with this? Thanks Link to comment Share on other sites More sharing options...
stottycabanas Posted April 1, 2014 Share Posted April 1, 2014 Hi milkman and welcome to the forums. I've re-read your post a number of times and keep coming to the same conclusion - the logic doesn't work. Unless I'm mistaken, you're trying to address the situation where a category contains both subcategories and products. However, on the one hand you're saying: If there are subcategories (which there would be), list these instead of products; and on the other hand: If there are products (there would be), list these instead of subcategories. As the saying goes, you can't have it both ways! Cheers, Dave Link to comment Share on other sites More sharing options...
Recommended Posts