ShoppingCartInfoProviderGetShoppingCartInfo Method (Int32, String) |
Returns shopping cart of the specified user.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax public 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:
ShoppingCartInfoSee Also