Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / UpsellProduct Class / UpsellProduct Constructor / UpsellProduct Constructor(Int32,Int32)
The parent product.
The product that is upsold by the parent.
In This Topic
    UpsellProduct Constructor(Int32,Int32)
    In This Topic
    Initializes a new instance of the UpsellProduct class.
    Syntax
    public UpsellProduct( 
       int productId,
       int upsellProductId
    )

    Parameters

    productId
    The parent product.
    upsellProductId
    The product that is upsold by the parent.
    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