Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / UpsellProduct Class / UpsellProduct Constructor / UpsellProduct Constructor(Product,Product,Int32)
The parent product.
The product that is upsold by the parent.
The order the upsell product appears in the list of all upsell products.
In This Topic
    UpsellProduct Constructor(Product,Product,Int32)
    In This Topic
    Initializes a new instance of the UpsellProduct class.
    Syntax
    public UpsellProduct( 
       Product product,
       Product upsellProduct,
       int orderBy
    )

    Parameters

    product
    The parent product.
    upsellProduct
    The product that is upsold by the parent.
    orderBy
    The order the upsell product appears in the list of all upsell products.
    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