Kentico 10 API Reference
Kentico 10 API Reference
Namespaces
CMS.Ecommerce
ShoppingCartInfoProvider Class
ShoppingCartInfoProvider Methods
AddShoppingCartItem Method
AddShoppingCartItemInternal 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
CopyShoppingCartItems Method
CopyShoppingCartItemsInternal Method
CreateContentRowInternal Method
CreateContentTableInternal Method
CreateContentTaxesTableInternal Method
CreateContentTaxRowInternal Method
CreateShippingTaxesTableInternal Method
CreateShippingTaxRowInternal 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
FilterContentTableInternal Method
GetContentTaxRowInternal 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
LogDiscountsUse Method
LogDiscountsUseInternal Method
RemoveShoppingCartItem Method
RemoveShoppingCartItemInternal Method
SetContentTaxRowInternal Method
SetOrder Method
SetOrderInternal Method
SetOrderItems Method
SetOrderItemsInternal Method
SetShoppingCartInfo Method
SetShoppingCartInfoInternal Method
SetShoppingCartItem Method
SetShoppingCartItemInternal Method
UpdateContentTaxRowInternal Method
UpdateShoppingCartFromOrder Method
UpdateShoppingCartFromOrderInternal Method
UpdateShoppingCartItemInternal Method
ShoppingCartInfoProvider
CalculateTotalTax Method
Calculates total tax which is applied to all shopping cart items altogether. Result is in site main currency.
Namespace:
CMS.Ecommerce
Assembly:
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
Copy
public
static
double
CalculateTotalTax
(
ShoppingCartInfo
cart
)
Parameters
cart
Type:
CMS.Ecommerce
ShoppingCartInfo
Shopping cart
Return Value
Type:
Double
See Also
Reference
ShoppingCartInfoProvider Class
CMS.Ecommerce Namespace
Copyright (c) 2016 Kentico Software
Send comments on this topic to
support@kentico.com