Hide Sub Categories Widget When No Subcategories are available
Hi, I am using the Sub Categories widget to display my sub categories. So lets say I have Parent category ->Vehicles and subcategory -> Car. So on vehicles page It display the sub category Car. But when I go to Car page it displays No-subcategories available which makes sense.
My question is that is there any way I can hide the widget when I go to the sub category page as there won't be any sub category to show on this page?
Thanks!