Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / IProductVariantRepository Interface / GetOptionList Method / GetOptionList(Int32,Int32[]) Method
Id of the product
An array of option choices for the product
In This Topic
    GetOptionList(Int32,Int32[]) Method
    In This Topic
    Gets the option list for the given product with given option choices
    Syntax
    string GetOptionList( 
       int productId,
       int[] optionChoices
    )

    Parameters

    productId
    Id of the product
    optionChoices
    An array of option choices for the product

    Return Value

    Comma delimited option list string for the variant
    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