int SearchRelatedProductsCount( 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 )
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
Return Value
The number of Product objects matching the cross sell search criteria.