IList<Product> GetRandomFeaturedProducts( int categoryId, bool publicOnly, bool includeOutOfStockItems, int count )
Parameters
- categoryId
- The category to search for featured products; pass 0 to disable category filter
- publicOnly
- If true, only public items are included in the result
- includeOutOfStockItems
- If true, out of stock items will also be included in results
- count
- The maximum number of featured items to return
Return Value
A collection of random featured products