Quickest Way to Change Magento 2 Menu Default – Magento 2 Mega Menu – Landofcoder

In this Blog, we will show you “The Quickest Way to Change Magento 2 Menu Default” – one of our wonderful series of Magento 2 Mega Menu – Landofcoder

Please 3 following steps:

  • Create File
  • Add Code .XML
  • Clear Cache

1. Create File :

app/design/THEME_VENDOR/THEME/Ves_Megamenu/layout/default.xml

2. Add Code .XML :

Add these below code into your file content & Change YOUR_MENU_ALIAS_HERE to a menu alias that you want to show

<?xml version=”1.0″?>
<page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:View/Layout/etc/page_configuration.xsd”>
<body>
<referenceBlock name=”store.menu”>
<block class=”Ves\Megamenu\Block\Menu” name=”catalog.topnav” template=”Ves_Megamenu::topmenu.phtml” ttl=”3600″>
<arguments>
<argument name=”alias” xsi:type=”string”>YOUR_MENU_ALIAS_HERE</argument>
</arguments>
</block>
</referenceBlock>
</body>
</page>

When you’ve done this, you can clear cache:

3. Clear Cache when Completely Change Magento 2 Menu Default.

Then Clear Cache: System -> Cache Management -> Select All -> Submit

Congratulation! You’ve completely “Change The Default Menu Magento 2 Quickly”.

Magento 2 Mega Menu Tutorials

Some other extensions you maybe interested in

Related Posts

Nhu Quynh

Recent Posts

Managed IT Services to Optimise eCommerce: Boost Operations and Drive Digital Growth

Managed IT Services to Optimise eCommerce are no longer optional. Slow sites, rising costs, and…

6 days ago

Leveraging Managed IT Services to Drive eCommerce Performance, Security, and Scalability

Leveraging Managed IT Services ensures running an online store feels exciting, not exhausting. Slow pages,…

6 days ago

Boosting eCommerce Success with Managed IT Services: Enhancing Uptime, Security, and Customer Experience

Boosting eCommerce Success with Managed IT Services is no longer optional—it is the key to…

6 days ago

Optimising eCommerce Success with Managed IT Services in eCommerce: From Infrastructure Stability to Scalable Growth

Traffic spikes should mean more sales, not site crashes. Many eCommerce teams face slow pages,…

6 days ago

Top 3 Benefits of Managed IT Services for eCommerce: Boosting Efficiency from Helpdesk Support to Seamless Operations

Managed IT Services for eCommerce ensure your online store feels fast and steady. Without them,…

6 days ago

Top 5 Powerful Visitor Check-in Kiosk Software Solutions in 2025

The way businesses manage visitors has changed a lot in recent years. From front desks…

2 weeks ago