Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / IProductRepository Interface / FindProducts Method / FindProducts(String,String,Int32,Int32,Int32,BitFieldState,Int32,String,Int32,Int32) Method
The name of the product
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.
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.
Sort expression to use for sorting the loaded products
Maximum number of rows to retrieve
Starting index from where to start retrieving
Version
FindProducts(String,String,Int32,Int32,Int32,BitFieldState,Int32,String,Int32,Int32) Method
Finds the products for given parameters
Syntax

Parameters

name
The name of the product
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.
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