Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / OrderItemCollection Class / TotalProductPrice Method / TotalProductPrice(IList<OrderItem>,Int32[],FilterRule) Method
Basket Item List
An array of integer that represents a list of product ids to filter on.
The rule for filtering products.
In This Topic
    TotalProductPrice(IList<OrderItem>,Int32[],FilterRule) Method
    In This Topic
    Gets the total price of all products in the collection.
    Syntax
    [Extension()]
    public static decimal TotalProductPrice( 
       IList<OrderItem> items,
       int[] productIds,
       FilterRule filter
    )

    Parameters

    items
    Basket Item List
    productIds
    An array of integer that represents a list of product ids to filter on.
    filter
    The rule for filtering products.

    Return Value

    The total price of all products in the collection, as modified by the filter..
    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