Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / ProductCalculator Class / LoadForProduct Method / LoadForProduct(Int32,Int32,String,String) Method
Id of the product
Quantity of the product
List of option ids if this is a variant
List of the kit product Ids
In This Topic
    LoadForProduct(Int32,Int32,String,String) Method
    In This Topic
    Creates a ProductCalculator object for given product details
    Syntax

    Parameters

    productId
    Id of the product
    quantity
    Quantity of the product
    optionList
    List of option ids if this is a variant
    kitList
    List of the kit product Ids

    Return Value

    A ProductCalculator object
    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