Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / Basket Class / DeleteItem Method
The ID of the item to remove
Indicates whether the changes to the basket item collection are persisted.
In This Topic
    DeleteItem Method
    In This Topic
    Deletes an item from the basket, including all associated child items.
    Syntax
    public virtual void DeleteItem( 
       int basketItemId,
       bool save
    )

    Parameters

    basketItemId
    The ID of the item to remove
    save
    Indicates whether the changes to the basket item collection are persisted.
    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