Kentico 9.0 API Reference
Kentico 9.0 API Reference
Namespaces
CMS.Ecommerce
ShoppingCartInfoProvider Class
ShoppingCartInfoProvider Methods
AddShoppingCartItem Method
AddShoppingCartItemInternal Method
AssignCartToUserInternal Method
AutoAddItemsToShoppingCart Method
AutoAddItemsToShoppingCartInternal Method
CalculateItemsDiscount Method
CalculateItemsDiscountInternal Method
CalculateOrderDiscount Method
CalculateOrderDiscountInternal Method
CalculateShippingDiscount Method
CalculateShippingDiscountInternal Method
CalculateShippingTaxInternal Method
CalculateTotalItemsPrice Method
CalculateTotalItemsPriceInternal Method
CalculateTotalItemsTax Method
CalculateTotalItemsTaxInternal Method
CalculateTotalItemsWeight Method
CalculateTotalItemsWeightInternal Method
CalculateTotalPrice Method
CalculateTotalPriceInternal Method
CalculateTotalTax Method
CalculateTotalTaxInternal Method
CartCanBeUsedOnSiteInternal Method
ClearShoppingCartPrivateData Method
ClearShoppingCartPrivateDataInternal Method
CopyShoppingCartItems Method
CopyShoppingCartItemsInternal Method
CreateContentRow Method
CreateContentRowInternal Method
CreateContentTable Method
CreateContentTableInternal Method
CreateContentTaxesTable Method
CreateContentTaxesTableInternal Method
CreateContentTaxRow Method
CreateContentTaxRowInternal Method
CreateShippingTaxesTable Method
CreateShippingTaxesTableInternal Method
CreateShippingTaxRow Method
CreateShippingTaxRowInternal Method
CreateShoppingCartInfo Method
CreateShoppingCartInfoInternal Method
DeleteShoppingCartInfo Method
DeleteShoppingCartInfoInternal Method
DeleteShoppingCartItems Method
DeleteShoppingCartItemsInternal Method
EmptyShoppingCart Method
EmptyShoppingCartInternal Method
EvaluateContent Method
EvaluateContentInternal Method
EvaluateContentTaxes Method
EvaluateContentTaxesInternal Method
EvaluateMultiBuyDiscounts Method
EvaluateMultiBuyDiscountsInternal Method
EvaluateOrderRelatedDiscounts Method
EvaluateOrderRelatedDiscountsInternal Method
EvaluateShippingTaxes Method
EvaluateShippingTaxesInternal Method
EvaluateShoppingCart Method
EvaluateShoppingCartInternal Method
EvaluateShoppingCartItems Method
EvaluateShoppingCartItemsInternal Method
FilterContentTable Method
FilterContentTableInternal Method
FindExistingShoppingCartInternal Method
GetContentTaxRowInternal Method
GetCurrentShoppingCart Method
GetCurrentShoppingCartInternal Method
GetExpiredShoppingCarts Method
GetExpiredShoppingCartsInternal Method
GetMultiBuyDiscount Method
GetMultiBuyDiscounts Method
GetMultiBuyDiscountsInternal Method
GetOrderInvoice Method
GetOrderInvoiceInternal Method
GetShoppingCartInfo Method
GetShoppingCartInfoFromOrder Method
GetShoppingCartInfoFromOrderInternal Method
GetShoppingCartInfoInternal Method
GetShoppingCartItem Method
GetShoppingCartItemInternal Method
GetShoppingCartResolver Method
GetShoppingCartResolverInternal Method
GetShoppingCarts Method
GetShoppingCartsInternal Method
GetTotalUnits Method
GetTotalUnitsInternal Method
CheckNewShoppingCartItems Method
CheckNewShoppingCartItemsInternal Method
CheckShoppingCart Method
CheckShoppingCartInternal Method
IsProductTypeInShoppingCart Method
IsProductTypeInShoppingCartInternal Method
LogDiscountsUse Method
LogDiscountsUseInternal Method
MakeShoppingCartCurrent Method
MakeShoppingCartCurrentInternal Method
RemoveShoppingCartItem Method
RemoveShoppingCartItemInternal Method
SetContentTaxRow Method
SetContentTaxRowInternal Method
SetOrder Method
SetOrderInternal Method
SetOrderItems Method
SetOrderItemsInternal Method
SetShoppingCartInfo Method
SetShoppingCartInfoInternal Method
SetShoppingCartItem Method
SetShoppingCartItemInternal Method
UpdateContentTaxRow Method
UpdateContentTaxRowInternal Method
UpdateShoppingCartFromOrder Method
UpdateShoppingCartFromOrderInternal Method
UpdateShoppingCartItemInternal Method
ShoppingCartInfoProvider
EmptyShoppingCart Method
Removes all items from specified shopping cart object.
Namespace:
CMS.Ecommerce
Assembly:
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
Copy
public
static
void
EmptyShoppingCart
(
ShoppingCartInfo
cartObj
)
Parameters
cartObj
Type:
CMS.Ecommerce
ShoppingCartInfo
Shopping cart object
See Also
Reference
ShoppingCartInfoProvider Class
CMS.Ecommerce Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com