Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / ProductVariant Class / ProductVariant Constructor / ProductVariant Constructor(Product,Int32,Int32,Int32,Int32,Int32,Int32,Int32,Int32,String,String,String,Nullable<Decimal>,Nullable<Decimal>,String,Nullable<Decimal>,Nullable<Decimal>,Nullable<Decimal>,Nullable<Decimal>,Byte,Nullable<Decimal>,Byte,Nullable<Decimal>,Int32,Nullable<DateTime>,Int32,String,String,String,Boolean)
The value of product
The value of option1
The value of option2
The value of option3
The value of option4
The value of option5
The value of option6
The value of option7
The value of option8
The value of variantname
The value of sku
The value of gtin or upc
The value of price
The value of msrp
The value of modelnumber
The value of length
The value of width
The value of height
The value of handlingcharges
The value of pricemodeid
The value of weight
The value of weightmodeid
The value of costofgoods
The value of instock
The value of availability date
The value of instockwarninglevel
The value of imageUrl
The value of thumbnailUrl
The value of iconUrl
The value of available
In This Topic
    ProductVariant Constructor(Product,Int32,Int32,Int32,Int32,Int32,Int32,Int32,Int32,String,String,String,Nullable<Decimal>,Nullable<Decimal>,String,Nullable<Decimal>,Nullable<Decimal>,Nullable<Decimal>,Nullable<Decimal>,Byte,Nullable<Decimal>,Byte,Nullable<Decimal>,Int32,Nullable<DateTime>,Int32,String,String,String,Boolean)
    In This Topic
    Initializes a new instance of the ProductVariant class.
    Syntax

    Parameters

    product
    The value of product
    option1
    The value of option1
    option2
    The value of option2
    option3
    The value of option3
    option4
    The value of option4
    option5
    The value of option5
    option6
    The value of option6
    option7
    The value of option7
    option8
    The value of option8
    variantname
    The value of variantname
    sku
    The value of sku
    gtin
    The value of gtin or upc
    price
    The value of price
    msrp
    The value of msrp
    modelnumber
    The value of modelnumber
    length
    The value of length
    width
    The value of width
    height
    The value of height
    handlingcharges
    The value of handlingcharges
    pricemodeid
    The value of pricemodeid
    weight
    The value of weight
    weightmodeid
    The value of weightmodeid
    costofgoods
    The value of costofgoods
    instock
    The value of instock
    availabilitydate
    The value of availability date
    instockwarninglevel
    The value of instockwarninglevel
    imageUrl
    The value of imageUrl
    thumbnailUrl
    The value of thumbnailUrl
    iconUrl
    The value of iconUrl
    available
    The value of available
    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