I have lots of categories and sub categories for them. For example,
Car is a category Benz, Audi, BMW are its sub categories.
So if the user is in Car category page it will show a small description of Car with a photo, also list all the sub categories of Car after that. Important thing is that this page is two column. In other words, this page have sidebar.
Now if a user comes to Benz category, it shouldn't have that side bar. In other words it should be full width template.
How to achieve this requirement.?
Note : I don't want to set template manually for that category through admin panel. I want to do this automatically. Like if the category don't have any sub category, then full width template should load.