Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.Ecommerce 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: 12.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) 2019 Kentico Software
Send comments on this topic to
support@kentico.com