CategoryCollection in Gold

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
euroluxantiques
Commander (CMDR)
Commander (CMDR)
Posts: 118
Joined: Sat Dec 20, 2008 11:27 pm

CategoryCollection in Gold

Post by euroluxantiques » Tue Dec 18, 2012 6:13 am

I had adapted the SimpleCategoryList conlib to produce a category flyout menu, and I'm trying to bring that into Gold. In my old code, I had a line:

Code: Select all

 CategoryCollection children = CategoryDataSource.LoadForParent(CatId, true);
However, I'm not finding CategoryCollection in the new API. Is there a substitute? Everything I try throws an implicit conversion error. The original topic where we were working on this flyout list is here: viewtopic.php?f=44&t=15019&p=70534&hili ... out#p70534

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: CategoryCollection in Gold

Post by jmestep » Tue Dec 18, 2012 7:58 am

It would be like what is in SimpleCategoryList.cs
IList<Category> subCategories = CategoryDataSource.LoadForParent(_CategoryId, true);
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply