free
web stats

Fill the form & Get Installation Support

Connect With Us





captcha

Connect With Us





captcha

Add contact us as a top menu in Magento

Step 1: For this, you have to create a small module. In that module, you have to create di.xml on the below path where we will define the plugin.

Path : app\code\Vortex\Cravens\etc\di.xml

You have to add the below code in the di.xml file

Step 2: Create a plugin on the below path and add the below-mentioned code into that file.

Path : app\code\Vortex\Cravens\Plugin\Topmenu.php

Code:

By doing these steps the contact us menu will get added in the top menu.

 

Was this article helpful?
YesNo
Fill the below form if you have any Magento programming need.




captcha