Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / BasketItemCollection Class / TotalProductPrice Method / TotalProductPrice(IList<BasketItem>) Method
Basket Item List
In This Topic
    TotalProductPrice(IList<BasketItem>) Method
    In This Topic
    Gets the total price of all products in the collection.
    Syntax
    [Extension()]
    public static decimal TotalProductPrice( 
       IList<BasketItem> items
    )

    Parameters

    items
    Basket Item List

    Return Value

    The total price of all products in the collection.
    Remarks
    The total includes modifications made to product price (i.e. discounts and coupons), but not items such as taxes or fees.
    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