For starters, I am moving an online store of about 2,000 skus (1,000 products setup in kits, options) that reside in appoximately 200-300 categories. Because I needed to keep my structure in tact (many of the products are in several categories), I chose to import products and categories into the AbleCommerce database using the original ProductIds and CategoryIds. It took a bit of work to get the associations working, but, in the end I did get everything to appear in the right categories, with the right parents, etc, etc...
Now, the problem I am running into is this:
I am using the CategorySideSearch feature of Able to narrow results. It seems to work great for the most part. However, I noticed that some of my categories, in the expand by manufacturer section, contained manufacturers that had NO products in that category. I thought maybe I had somehow screwed up the product/category structure. However, after much research, I realized that the ProductDataSource.ManufacturerProductCount was returning a product count for Manufacturers that did not exist in the category in question. After even further head-scratching, and poking around, I realized this... The ProductDataSource.ManufacturerProductCount method is not checking what the NodeType is when it is doing it's search (apparently)... Because I have CategoryIds that are the same as ProductIds (in a few instances), this lack of testing is causing the error.
I don't know if when you add products and categories through the Able interface, or, if you use the dataport to import them that Able won't allow for a ProductID that is the same as a CategoryId, and vice-versa. If so, I guess that I've brought this on myself.
Please let me know how I should procede. Of course I can either re-create the method to get my counts, or, simply change the ids on the product/categories in question.
Thank you for any help you can give me!
Scott
(Here is an example of the problem... http://76.12.100.221/Hot-Tub-Filters-C350.aspx Click on 'BioGuard' under the Narrow by Manufacturer
