Commerce Category Menu Control



Could some please provide me the code to build a category menu in episerver. I have to build a two level category menu. I need to build this from the catalog and not the page structure like the default site.

Kind Regards


Jul 09, 2011 14:49

Any luck with this yet?

Dec 13, 2011 9:18

I have managed to solve this.

Dec 18, 2011 1:02

Could you share please?

Dec 19, 2011 10:24

The way I have imlemented is that I have the very top level categories are in the the CMS. And then I use the categories defined on those pages to build the child categories like below

CatalogNodes nodeslevel2 = CatalogContext.Current.GetCatalogNodes(catalogs.Catalog[0].Name, pTopCatPage.URLSegment.ToString());

You need to build the child categories one by one.

Hope this was helpful.





Dec 19, 2011 14:08

Thank you for sharing.

Dec 19, 2011 14:16
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.