# Custom item in the menu using the plugin

**URL:** <https://forum.shopware.com/t/custom-item-in-the-menu-using-the-plugin/59103>\
**Category:** Plugins\
**Created:** [16. April 2019 um 09:15 UTC](https://forum.shopware.com/t/custom-item-in-the-menu-using-the-plugin/59103 "2019-04-16T09:15:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ST\_DP](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@ST\_DP](https://forum.shopware.com/u/ST_DP)\
**Post date:** [16. April 2019 um 09:15 UTC](https://forum.shopware.com/t/custom-item-in-the-menu-using-the-plugin/59103/1 "2019-04-16T09:15:28Z")

</div>

Hello friends, please tell me how can I add a menu item in the frontend using a plugin?  
I added a template with a new menu item along the path views / frontend / index / main-navigation.tpl.

file main-navigation.tpl

```
{extends file="parent:frontend/index/main-navigation.tpl"}

{block name='frontend_index_navigation_categories'}
    
        {block name='frontend_index_navigation_categories_navigation_list'}
            
                {strip}
                    {block name='frontend_index_navigation_categories_top_home'}
                        
                            {block name='frontend_index_navigation_categories_top_link_home'}
                                
                                    {s name='IndexLinkHome' namespace="frontend/index/categories_top"}{/s}
                                
                            {/block}
                        
                    {/block}

                    {block name='frontend_index_navigation_categories_top_before'}{/block}

                        {block name='frontend_index_navigation_categories_top_entry'}
                            {if !$sCategory.hideTop}
                                
                                    {block name='frontend_index_navigation_categories_top_link'}
                                        
                                        
                                        Assembly
                                        
                                        
                                    {/block}
                                
                            {/if}
                        {/block}

                    {foreach $sMainCategories as $sCategory}
                        {block name='frontend_index_navigation_categories_top_entry'}
                            {if !$sCategory.hideTop}
                                
                                    {block name='frontend_index_navigation_categories_top_link'}
                                        
                                            {$sCategory.description}
                                        
                                    {/block}
                                
                            {/if}
                        {/block}
                    {/foreach}
                {/strip}
            
        {/block}
    
{/block}

```

&nbsp;
