ICurrentShoppingCartStrategyUserCanTakeOverCart Method |
Checks if user can adopt shopping cart specified by cart.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax bool UserCanTakeOverCart(
ShoppingCartInfo cart,
UserInfo user
)
Parameters
- cart
- Type: CMS.EcommerceShoppingCartInfo
Candidate shopping cart to be checked. - user
- Type: CMS.MembershipUserInfo
New potential owner of the cart
Return Value
Type:
BooleanTrue if given
cart can be taken over by user.
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when cart is null. |
See Also