Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS 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: 12.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) 2019 Kentico Software
Send comments on this topic to
support@kentico.com