Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Search.Providers Namespace / ISearchProvider Interface / AdvancedSearch Method / AdvancedSearch(String,Int32,Int32,Boolean,Boolean,Boolean,Decimal,Decimal,Boolean,IList<ShopByChoice>,String,Int32,Int32) Method
keyword to match
The category ID to search for products (search is recursive to all descendants)
The manufacturer ID to use for filtering serach.
If true product name field is searched
If true product description field is searched. This parameter will be ignored for Full Text Search providers if search keywords have a hyphen(-) in it.
If true product SKU field is searched
The lowest price to include in result.
The highest price to include in result.
Restrict to only featured products
Restrict using shop by choices
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
    AdvancedSearch(String,Int32,Int32,Boolean,Boolean,Boolean,Decimal,Decimal,Boolean,IList<ShopByChoice>,String,Int32,Int32) Method
    In This Topic
    Gets a list of products matching the advanced search criteria
    Syntax

    Parameters

    keyword
    keyword to match
    categoryId
    The category ID to search for products (search is recursive to all descendants)
    manufacturerId
    The manufacturer ID to use for filtering serach.
    searchName
    If true product name field is searched
    searchDescription
    If true product description field is searched. This parameter will be ignored for Full Text Search providers if search keywords have a hyphen(-) in it.
    searchSKU
    If true product SKU field is searched
    lowPrice
    The lowest price to include in result.
    highPrice
    The highest price to include in result.
    onlyFeatured
    Restrict to only featured products
    choices
    Restrict using shop by choices
    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 advanced search criteria
    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