Click or drag to resize
IShoppingCartRepositoryGetCart Method (Guid)
Gets ShoppingCartInfo by its GUID.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
ShoppingCartInfo GetCart(
	Guid cartGuid
)

Parameters

cartGuid
Type: SystemGuid
ID of the ShoppingCartInfo.

Return Value

Type: ShoppingCartInfo
Shopping cart with requested GUID or null when not found.
Remarks
Returned shopping cart is populated with cart items.
See Also