Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / ProductCalculator Class / LoadForProduct Method / LoadForProduct(Int32,Int32,String,String,Int32) Method
Id of the product
Quantity of the product
List of option ids if this is a variant
List of the kit product Ids
User Id
In This Topic
    LoadForProduct(Int32,Int32,String,String,Int32) 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
    userId
    User Id

    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