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?


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, privacy policy and cookie policy

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