Kentico 11 API Reference
Kentico 11 API Reference
Namespaces
CMS.Ecommerce Namespaces
CMS.Ecommerce
IShoppingCartRepository Interface
IShoppingCartRepository Methods
GetCart Method
GetCart Method (Guid)
GetCart Method (Int32)
IShoppingCartRepository
GetCart Method (Guid)
Gets
ShoppingCartInfo
by its GUID.
Namespace:
CMS.Ecommerce
Assembly:
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
Copy
ShoppingCartInfo
GetCart
(
Guid
cartGuid
)
Parameters
cartGuid
Type:
System
Guid
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
Reference
IShoppingCartRepository Interface
GetCart Overload
CMS.Ecommerce Namespace
Copyright (c) 2017 Kentico Software
Send comments on this topic to
support@kentico.com