I'm using a classic /products/category/subcategory/ url structure.

On parent category pages I'm displaying a list of subcategories. However, for categories without children I'd like to show entries in stead.

Any thoughts on how to best approach this?

1 Answer 1


Turns out there is a plugin from GWcode that detects if subcategories exist via url segments: http://devot-ee.com/add-ons/gwcode-haschildren

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.