Click or drag to resize
ShoppingCartInfoProviderAssignCartToUserInternal Method
Assigns given cart to specified user. Cart's currency is switched to user's preferred one if cart is empty.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
protected virtual void AssignCartToUserInternal(
	ShoppingCartInfo cart,
	UserInfo user
)

Parameters

cart
Type: CMS.EcommerceShoppingCartInfo
Assigned shopping cart.
user
Type: CMS.MembershipUserInfo
New owner of the cart.
See Also