Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Search.Providers Namespace / ISearchProvider Interface / AdvancedSearchCount Method / AdvancedSearchCount(String,Int32,Int32,Boolean,Boolean,Boolean,Decimal,Decimal,Boolean,IList<ShopByChoice>) 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
In This Topic
    AdvancedSearchCount(String,Int32,Int32,Boolean,Boolean,Boolean,Decimal,Decimal,Boolean,IList<ShopByChoice>) Method
    In This Topic
    Count the number of results for a advanced search.
    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

    Return Value

    A count of the products that match the 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