DefaultDeliveryBuilderAddItems Method |
Adds cart items selected by itemSelector predicate to constructed delivery.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax 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