Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / ProductVariantManager Class
Properties Methods


In This Topic
    ProductVariantManager Class Members
    In This Topic

    The following tables list the members exposed by ProductVariantManager.

    Public Constructors
     NameDescription
    Public Constructor Initializes a new instance of the ProductVariantManager class.  
    Top
    Public Properties
     NameDescription
    Public Property Gets the total number of variants for the current product.  
    Public Property Gets the product that the manager is initialized with.  
    Public Property Gets the Id of the product that the manager is initialized with.  
    Top
    Public Methods
     NameDescription
    Public Method Gets the number of variants  
    Public MethodOverloaded.  Gets the index of a variant in the grid given the option choices  
    Public Method Gets the option choices given the index in the variant matrix  
    Public Methodstatic (Shared in Visual Basic) Converts a dictionary of option / option choice pairs into an array of int with the option choices in matrix order.  
    Public Method Gets a ProductVariant at the given index  
    Public MethodOverloaded.  Gets a variant given the option choices  
    Public Methodstatic (Shared in Visual Basic) Checks if the given product has digital good data associated with one of its variants  
    Public Methodstatic (Shared in Visual Basic) Check if the given product has any variant data persisted to the database  
    Public Method Determines the index of the variant within the grid  
    Public MethodOverloaded.  Loads the available product variants for product associated with this product variant manager  
    Public MethodOverloaded.  Loads the product variant collection for associated product  
    Public Methodstatic (Shared in Visual Basic) Parses an option list to an int array  
    Public Methodstatic (Shared in Visual Basic) Resets the variant grid for a product  
    Public Methodstatic (Shared in Visual Basic)Overloaded.  Checks records currently saved to the variant grid to determine if they are valid  
    Public Methodstatic (Shared in Visual Basic) Checks that a given option list is valid.  
    Top
    Extension Methods
     NameDescription
    Public Extension MethodOverloaded.  Use this method to bulid query string from NameValueCollection
    Top
    See Also