- 10
How we can disable advance search in version 4.1 by default. I am using Nop Instant Search plugin.
In 3.9 I did it by changing code in a file plugins\SevenSpikes.Nop.Plugins.InstantSearch
View\InstantSearch.cshtml
The change is Search?adv=true to Search?adv=false
windows.location.href = "@url.RouterUr("HomePage")" + "Search?adv=true&cid=" + selectedCatagory + "&q"+ encodeURLComponent(searchItem) + "&[email protected]&isc=true";
In 3.9 I did it by changing code in a file plugins\SevenSpikes.Nop.Plugins.InstantSearch
View\InstantSearch.cshtml
The change is Search?adv=true to Search?adv=false
windows.location.href = "@url.RouterUr("HomePage")" + "Search?adv=true&cid=" + selectedCatagory + "&q"+ encodeURLComponent(searchItem) + "&[email protected]&isc=true";
abdulwahe