Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / Basket Class / Transfer Method
The ID of the user with the source basket.
The ID of the user to transfer the basket to.
This parameter is ignored. Empty baskets are never transferred.
In This Topic
    Transfer Method (Basket)
    In This Topic
    Moves the source basket to the target basket.
    Syntax
    [Obsolete("Use IBasketService.Transfer")]
    public static void Transfer( 
       int sourceId,
       int targetId,
       bool transferEmptyBasket
    )

    Parameters

    sourceId
    The ID of the user with the source basket.
    targetId
    The ID of the user to transfer the basket to.
    transferEmptyBasket
    This parameter is ignored. Empty baskets are never transferred.
    Remarks
    Any existing contents of the target basket are removed upon transfer.
    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