Click or drag to resize
ShoppingCartInfoProviderFindExistingShoppingCartInternal Method
Gets registered users most recent shopping cart on given site from the database. This method also recalculates the cart found in DB.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
protected virtual ShoppingCartInfo FindExistingShoppingCartInternal(
	UserInfo user,
	string siteName
)

Parameters

user
Type: CMS.MembershipUserInfo
Registered user to get cart for.
siteName
Type: SystemString
Name of the site to get cart from.

Return Value

Type: ShoppingCartInfo
Found shopping cart.
See Also