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}