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 (Int32)
Gets the
ShoppingCartInfo
by its ID.
Namespace:
CMS.Ecommerce
Assembly:
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
Copy
ShoppingCartInfo
GetCart
(
int
cartId
)
Parameters
cartId
Type:
System
Int32
ID of the
ShoppingCartInfo
.
Return Value
Type:
ShoppingCartInfo
Shopping cart with requested ID 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