IList<Product> SearchRelatedProducts( string productName, int categoryId, CrossSellState crossSellFilter, int productId, string sortExpression, int maximumRows, int startRowIndex )
Parameters
- productName
- The product name to search
- categoryId
- The category id to search within
- crossSellFilter
- The type of cross sell relationship the target items have to the given product
- productId
- The product used to determine cross sell relationship
- 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 products matching the cross sell search criteria.