Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Search.Providers Namespace / SearchProviderBase Class / FindProducts Method / FindProducts(String,Boolean,String,Int32,Int32,Int32,Int32,BitFieldState,Int32,Decimal,Decimal,Boolean,Boolean,Boolean,Boolean,Int32,Nullable<CatalogVisibility>,String,Int32,Int32) Method
The name of the product
Search in description fields
The sku of the product
The category Id of the product
The manufacturer Id of the product. Use special value (-1) to search products without any manufacturers assigned.
The vendor Id of the product. Use special value (-1) to search products without any vendors assigned.
The wrapGroup Id of the product. Use special value (-1) to search products without any wrapGroups assigned.
Whether the product is featured or not
The tax code Id of the product. Use special value (-1) to search products without any tax codes assigned.
Low product price
High product price
Digital Goods only
Gift Certificates only
Kits only
Subscription only
Assigned Group
Catalog Visibility
Sort expression to use for sorting the loaded products
Maximum number of rows to retrieve
Starting index from where to start retrieving
In This Topic
    FindProducts(String,Boolean,String,Int32,Int32,Int32,Int32,BitFieldState,Int32,Decimal,Decimal,Boolean,Boolean,Boolean,Boolean,Int32,Nullable<CatalogVisibility>,String,Int32,Int32) Method
    In This Topic
    Finds the products for given parameters
    Syntax

    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.
    wrapGroupId
    The wrapGroup Id of the product. Use special value (-1) to search products without any wrapGroups 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
    visibility
    Catalog Visibility
    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

    List of products matching the given parameters
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also