Click or drag to resize
DefaultDeliveryBuilderAddItems Method
Adds cart items selected by itemSelector predicate to constructed delivery.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
protected virtual void AddItems(
	ShoppingCartInfo cart,
	Func<ShoppingCartItemInfo, bool> itemSelector = null
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Cart to add items from.
itemSelector (Optional)
Type: SystemFuncShoppingCartItemInfo, Boolean
Predicate deciding which items will be placed into delivery. When null, all items are delivered.
See Also