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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax 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:
ShoppingCartInfoFound shopping cart.
See Also