ShoppingCartInfoProviderCopyShoppingCartItemsInternal Method |
Updates destination shopping cart with source shopping cart.
If such product configuration already exists in the shopping cart, only its quantity is updated.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax protected virtual bool CopyShoppingCartItemsInternal(
ShoppingCartInfo sourceCart,
ShoppingCartInfo destinationCart
)
Parameters
- sourceCart
- Type: CMS.EcommerceShoppingCartInfo
Original shopping cart - destinationCart
- Type: CMS.EcommerceShoppingCartInfo
The cart where to copy items
Return Value
Type:
BooleanReturns true if all ordered items were successfully added to cart.
See Also