ShoppingCartInfoProviderGetShoppingCartInfo Method (Int32, String) |
Returns shopping cart of the specified user.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntaxpublic static ShoppingCartInfo GetShoppingCartInfo(
int userId,
string siteName
)
Parameters
- userId
- Type: SystemInt32
ID of the user who is the owner of the shopping cart - siteName
- Type: SystemString
Name of the site to which the shopping cart belongs
Return Value
Type:
ShoppingCartInfo
See Also