Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / ProductVariantManager Class / GetVariantFromOptions Method / GetVariantFromOptions(String) Method
Comma delimited list of option choices
In This Topic
    GetVariantFromOptions(String) Method
    In This Topic
    Gets a variant given the option choices
    Syntax
    public ProductVariant GetVariantFromOptions( 
       string optionList
    )

    Parameters

    optionList
    Comma delimited list of option choices

    Return Value

    The variant for the given options, or null if not found
    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