We're having problems with ProductDataSource.RandomFeaturedProducts(categoryId,..). It's not including any featured products found in sub-categories of the specified categoryId. It only returns featured products in the specified category.
This is different than how it worked before - in Able 7.x it would return any featured products in the specified category as well as featured products in any sub categories of the specified category.
Am I missing something?
Random Featured Products
Random Featured Products
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: Random Featured Products
I just looked at the source code for the featured products and like you saw, if the category id is set, it is only getting the products that have a category id equal to the one you specified. It would be nice if the code could be updated to have the categories fetch like in the AdvancedSearch function where the category id is the parent category to pull from and the subcategories are all pulled. I'll see if I can make something like that happen.
Ryan A.
Scott's Bait and Tackle
http://store.scottsbt.com
Work In Progress
Able Gold R10
Bootstrap 3.3
Scott's Bait and Tackle
http://store.scottsbt.com
Work In Progress
Able Gold R10
Bootstrap 3.3