diff --git a/templates/frontend/components/navigationMenu.tpl b/templates/frontend/components/navigationMenu.tpl index 6f516f40308..d178c521b7e 100644 --- a/templates/frontend/components/navigationMenu.tpl +++ b/templates/frontend/components/navigationMenu.tpl @@ -19,16 +19,27 @@ {if !$navigationMenuItemAssignment->navigationMenuItem->getIsDisplayed()} {continue} {/if} -
  • - + + {* Check if menu item has submenu *} + {if $navigationMenuItemAssignment->navigationMenuItem->getIsChildVisible()} + {assign var=hasSubmenu value=true} + {else} + {assign var=hasSubmenu value=false} + {/if} + {* Check if is current page for aria-current parameter*} + {assign var="isActive" value={default_item_active item=$navigationMenuItemAssignment->navigationMenuItem}} + +