Kentico 10 API Reference
Kentico 10 API Reference
Namespaces
CMS.Ecommerce
ICurrentShoppingCartStrategy Interface
ICurrentShoppingCartStrategy Methods
AnonymizeShoppingCart Method
CartCanBeUsedOnSite Method
PreferStoredCart Method
RefreshCart Method
TakeOverCart Method
UserCanTakeOverCart Method
ICurrentShoppingCartStrategy
TakeOverCart Method
Makes the
ShoppingCartInfo
owned by the user.
Namespace:
CMS.Ecommerce
Assembly:
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
Copy
void
TakeOverCart
(
ShoppingCartInfo
cart
,
UserInfo
user
)
Parameters
cart
Type:
CMS.Ecommerce
ShoppingCartInfo
The cart to be assigned to the
user
.
user
Type:
CMS.Membership
UserInfo
User which is assigned to the
cart
.
Exceptions
Exception
Condition
ArgumentNullException
Thrown when any of arguments is
null
.
See Also
Reference
ICurrentShoppingCartStrategy Interface
CMS.Ecommerce Namespace
Copyright (c) 2016 Kentico Software
Send comments on this topic to
support@kentico.com