IList<Product> SearchRelatedProducts( string name, bool searchDescription, string sku, int categoryId, int manufacturerId, int vendorId, BitFieldState featured, int taxCodeId, decimal lowPrice, decimal highPrice, bool digitalGoodsOnly, bool giftCertificatesOnly, bool kitsOnly, bool subscriptionsOnly, int groupId, CrossSellState crossSellFilter, int productId, string sortExpression, int maximumRows, int startRowIndex )
Parameters
- name
- The name of the product
- searchDescription
- Search in description fields
- sku
- The sku of the product
- categoryId
- The category Id of the product
- manufacturerId
- The manufacturer Id of the product. Use special value (-1) to search products without any manufacturers assigned.
- vendorId
- The vendor Id of the product. Use special value (-1) to search products without any vendors assigned.
- featured
- Whether the product is featured or not
- taxCodeId
- The tax code Id of the product. Use special value (-1) to search products without any tax codes assigned.
- lowPrice
- Low product price
- highPrice
- High product price
- digitalGoodsOnly
- Digital Goods only
- giftCertificatesOnly
- Gift Certificates only
- kitsOnly
- Kits only
- subscriptionsOnly
- Subscription only
- groupId
- Assigned Group
- 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.