Why is there not a productdatasource.loadforcategory() ?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
William_firefold
Commander (CMDR)
Commander (CMDR)
Posts: 186
Joined: Fri Aug 01, 2008 8:38 am

Why is there not a productdatasource.loadforcategory() ?

Post by William_firefold » Wed Feb 10, 2010 3:47 pm

I need a method that equates to productdatasource.loadforcategory(). All I can find is narrowsearch() but I dont have any of the other information for the method, just the category.
Is there anything that does this?

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

Re: Why is there not a productdatasource.loadforcategory() ?

Post by jmestep » Thu Feb 11, 2010 8:25 am

You can use that by putting in "" for string and 0 for int that you are not using. There is also a ProductDataSource.LoadForCriteria. There is also a catalognodedatasource.loadforcategory.
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

User avatar
William_firefold
Commander (CMDR)
Commander (CMDR)
Posts: 186
Joined: Fri Aug 01, 2008 8:38 am

Re: Why is there not a productdatasource.loadforcategory() ?

Post by William_firefold » Thu Feb 11, 2010 12:36 pm

Many thanks, it works as I had hoped.

I still think there should be loadforcategory() though :)

Post Reply