0

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?

0

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

| improve this answer | |

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.