Redirect to another EntryType template if no Children exist I have a Structure Section called 'products' which uses two EntryTypes, one for 'Product Type Overview' and one for 'Individual Products', where 'Individual Products' are the children of 'Product Type Overview'.  Some 'products' have children and some do not.

I have a menu which then lists the top level entries, so in most cases the user selects 'Product A' they see a list of items (variations) belonging to 'Product A', they then click on an item to see more information about that particular product variation. -  This I have done without a problem using this method.

Here's my problem...  If the user selects a product that DOES NOT have variations (children) I need them to go straight to the child template and miss the parent 'Overview' template.

I hope that makes sense?

Any help very much appreciated.
Fixed!

So bearing in mind i'm using this method to load templates according to entry type, Clive Portman's answer got me thinking about hasDescendants.  In my _entry.html I now have something like this:

{% if entry.hasDescendants() %}
  {% include "products/_types/secType_categoryGroupOverview.html" %}
{% else %}
  {% include "products/_types/secType_productSpecification.html" %}
{% endif %}


...and it seems to work as required :)

Obviously happy to hear of any more elegant solutions.