Click or drag to resize
ShoppingCartInfoProviderUpdateShoppingCartFromOrderInternal Method
Updates shopping cart with shopping cart from order. If such product configuration already exists in the shopping cart, only its quantity is updated. Returns true if all ordered items were successfully added to cart.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
protected virtual bool UpdateShoppingCartFromOrderInternal(
	ShoppingCartInfo cart,
	int orderID
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart
orderID
Type: SystemInt32
ID of order which should be added to shopping cart.

Return Value

Type: Boolean
See Also