Hello,
How can I display some "smart search"-groups together with regular ecom-groups? I have a page with ecom-navigation attached and on the same navigation level I need to display a link to a "smart search"-group.
Best regards, Anders
Hello,
How can I display some "smart search"-groups together with regular ecom-groups? I have a page with ecom-navigation attached and on the same navigation level I need to display a link to a "smart search"-group.
Best regards, Anders
Hi Anders,
may be that way would be useful for you: http://developer.dynamicweb.com/forum/ecommerce-standard-features/how-to-include-smart-search-in-navigation.aspx
or it is possible with custom navigation provider:
public class SmartSearchNavigationProvider : NavigationProvider { public override void ProcessTree(RootNavigationItem rootNode, XmlNavigation.NavigationType navigationType) { var request = HttpContext.Current.Request; foreach (NavigationItem item in rootNode) { if (item is PageNavigationItem && item.ID == 2) { var ssItem = new SmartSearchMenuItem() { FriendlyHref = String.Format("http://{0}/da-DK/MyProducts?{1}", request.Url.Host, "groupid=9e7c6c4c-1e98-45af-b928-18d0e11b67a3"), MenuText = "MySmartSearch" }; item.AddChild(ssItem); } } } } public class SmartSearchMenuItem : NavigationItem { }
Best regards,
Vladimir
You must be logged in to post in the forum