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

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
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