Name | Description | |
---|---|---|
ProductVariantManager Constructor | Initializes a new instance of the ProductVariantManager class. |
The following tables list the members exposed by ProductVariantManager.
Name | Description | |
---|---|---|
ProductVariantManager Constructor | Initializes a new instance of the ProductVariantManager class. |
Name | Description | |
---|---|---|
Count | Gets the total number of variants for the current product. | |
Product | Gets the product that the manager is initialized with. | |
ProductId | Gets the Id of the product that the manager is initialized with. |
Name | Description | |
---|---|---|
CountVariantGrid | Gets the number of variants | |
GetIndexFromOptions | Overloaded. Gets the index of a variant in the grid given the option choices | |
GetOptionChoicesByIndex | Gets the option choices given the index in the variant matrix | |
GetSortedOptionChoices | Converts a dictionary of option / option choice pairs into an array of int with the option choices in matrix order. | |
GetVariantByIndex | Gets a ProductVariant at the given index | |
GetVariantFromOptions | Overloaded. Gets a variant given the option choices | |
HasDigitalGoodData | Checks if the given product has digital good data associated with one of its variants | |
HasVariantData | Check if the given product has any variant data persisted to the database | |
IndexOf | Determines the index of the variant within the grid | |
LoadAvailableVariantGrid | Overloaded. Loads the available product variants for product associated with this product variant manager | |
LoadVariantGrid | Overloaded. Loads the product variant collection for associated product | |
ParseOptionList | Parses an option list to an int array | |
ResetVariantGrid | Resets the variant grid for a product | |
ScrubVariantGrid | Overloaded. Checks records currently saved to the variant grid to determine if they are valid | |
ValidateOptionList | Checks that a given option list is valid. |
Name | Description | |
---|---|---|
ToQueryString | Overloaded. Use this method to bulid query string from NameValueCollection |