drcomputer wrote:I am using nopcommerce 2.8 with electronics theme. how to place search box in megamenu bar
Hi drcomputer,
To do this go to
Views/Shared/Header.cshtmlfind the following line and delete it:
@Html.Action("SearchBox", "Catalog")
After that go to
Plugins/SevenSpikes.Nop.Plugins.MegaMenu/Views/MegaMenu.cshtmlgo to the bottom of the file line
70-71 and add the following code after the last
li
element:
<li>
@Html.Action("SearchBox", "Catalog")
</li>
NOTE: You may require a little styling of the search box after this.
Ivan Stoyanov