{if $smarty.const.NAVIGATION_CONTENT_BLOCK} {content block_id=$smarty.const.NAVIGATION_CONTENT_BLOCK} {assign var=navigation_content value=$_content_{$smarty.const.NAVIGATION_CONTENT_BLOCK}} {/if} {if $_categories} {if $smarty.const.NAVIGATION_COMBINE_CATEGORIES eq 'true'} {assign var=categories value=[['categories_name' => $smarty.const.TEXT_XGX_BARE_ASSORTMENT,'categories_link' => '#','sub' => $_categories]]} {else} {assign var=categories value=$_categories} {/if}
{foreach $categories as $category}
{if $smarty.const.MEGAMENU_CATEGORIES_IMAGE eq 'true' && $smarty.const.MEGAMENU_CATEGORIES_IMAGE_ORIENTATION eq 'top' && $category.categories_image} {/if}
{if $smarty.const.MEGAMENU_CATEGORIES_IMAGE eq 'true' && $smarty.const.MEGAMENU_CATEGORIES_IMAGE_ORIENTATION neq 'top'}
{/if} {if !empty($category.sub)} {/if} {if $smarty.const.MEGAMENU_CATEGORIES_IMAGE eq 'true' && $smarty.const.MEGAMENU_CATEGORIES_IMAGE_ORIENTATION neq 'top'}
{/if} {if $smarty.const.MEGAMENU_CATEGORIES_IMAGE eq 'true' && $smarty.const.MEGAMENU_CATEGORIES_IMAGE_ORIENTATION neq 'top' && $category.categories_image} {/if}
{if $smarty.const.MEGAMENU_CATEGORIES_DESCRIPTION_SHORT eq 'true' && $category.categories_description}

{$category.categories_name}

{$category.categories_description}

{/if}
{/foreach} {if $navigation_content} {foreach $navigation_content as $content} {/foreach} {/if}
{/if}