Xperience 13 API Reference
Xperience 13 API Reference
Namespaces
CMS Namespaces
CMS.Ecommerce Namespaces
CMS.Ecommerce
IShoppingService Interface
IShoppingService Methods
AddCouponCode Method
AddItemToCart Method
CalculateShippingOptionPrice Method
ClearShippingOptionIfNotShippable Method
CreateOrder Method
GetBillingAddress Method
GetCurrentCustomer Method
GetCurrentShoppingCart Method
GetPaymentOption Method
GetShippingAddress Method
GetShippingOption Method
RemoveAllItemsFromCart Method
RemoveCouponCode Method
RemoveItemFromCart Method
SaveCart Method
SetBillingAddress Method
SetCustomer Method
SetPaymentOption Method
SetShippingAddress Method
SetShippingOption Method
UpdateItemQuantity Method
IShoppingService
SaveCart Method
Validates and saves the shopping cart into the database.
Namespace:
CMS.Ecommerce
Assembly:
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
Copy
void
SaveCart
()
Exceptions
Exception
Condition
InvalidOperationException
Thrown when validation of shopping cart, its items, customer addresses, payment or shipping option fails.
See Also
Reference
IShoppingService Interface
CMS.Ecommerce Namespace
Copyright (c) 2023 Kentico Software
Send comments on this topic to
support@kentico.com