Click or drag to resize
ShoppingCartInfoProviderGetShoppingCartInfo Method (Int32, String)
Returns shopping cart of the specified user.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
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: ShoppingCartInfo
See Also