IList<Product> GetFeaturedProducts( int categoryId, bool publicOnly, bool includeOutOfStockItems, string sortExpression, int maximumRows, int startRowIndex )
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
- sortExpression
- sort expression to use for sorting the loaded products
- maximumRows
- Maximum number of rows to retrieve
- startRowIndex
- Starting index from where to start retrieving
Return Value
A list of featured products