Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / IProductVariantRepository Interface / GetVariantName Method
Id of the product
An array of option choices for the product
If there are more than one variants matching the given criteria, this is the separator used to separate the names
In This Topic
    GetVariantName Method (IProductVariantRepository)
    In This Topic
    Gets the product variant name(s) for the given option choices
    Syntax

    Parameters

    productId
    Id of the product
    optionChoices
    An array of option choices for the product
    separator
    If there are more than one variants matching the given criteria, this is the separator used to separate the names

    Return Value

    Name or names of variants separated by the separator
    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