Click or drag to resize
ICurrentShoppingCartStrategyTakeOverCart Method
Makes the ShoppingCartInfo owned by the user.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
void TakeOverCart(
	ShoppingCartInfo cart,
	UserInfo user
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
The cart to be assigned to the user.
user
Type: CMS.MembershipUserInfo
User which is assigned to the cart.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when any of arguments is null.
See Also