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
UserCanTakeOverCart Method
Checks if
user
can adopt shopping cart specified by
cart
.
Namespace:
CMS.Ecommerce
Assembly:
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
Copy
bool
UserCanTakeOverCart
(
ShoppingCartInfo
cart
,
UserInfo
user
)
Parameters
cart
Type:
CMS.Ecommerce
ShoppingCartInfo
Candidate shopping cart to be checked.
user
Type:
CMS.Membership
UserInfo
New potential owner of the
cart
Return Value
Type:
Boolean
True
if given
cart
can be taken over by user.
Exceptions
Exception
Condition
ArgumentNullException
Thrown when
cart
is
null
.
See Also
Reference
ICurrentShoppingCartStrategy Interface
CMS.Ecommerce Namespace
Copyright (c) 2016 Kentico Software
Send comments on this topic to
support@kentico.com