FindProducts by SKU

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
John Gaby
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Fri Mar 13, 2009 10:34 am

FindProducts by SKU

Post by John Gaby » Fri May 15, 2009 12:24 pm

I want to find products based solely by the SKU. I see the function ProductDataSource.FindProducts(name, sku, categoryId, manufacturerId, vendorId). Is there some way to pass wild cards for all of the parameters except the sku? Is there another way to do this?

Thanks

John Gaby
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Fri Mar 13, 2009 10:34 am

Re: FindProducts by SKU

Post by John Gaby » Fri May 15, 2009 2:12 pm

Ok, I figured it out. However, it seems to be doing a partial match on the SKU. Is there a way to return only exact matches?

John Gaby
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Fri Mar 13, 2009 10:34 am

Re: FindProducts by SKU

Post by John Gaby » Fri May 15, 2009 10:00 pm

I believe I figured it out. It looks like I need to use "LoadForCriteria".

Post Reply