SKUInfoProvider CalculateSKUTotalTaxInternal Method Kentico 8.0 API Reference
Returns product total tax in site main currency based on the product data and the data of the shopping cart. Result is cached according to the content cache settings (CMSCacheMinutes settings key).

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

sku
Type: CMS.Ecommerce SKUInfo
SKU data
cart
Type: CMS.Ecommerce ShoppingCartInfo
Shopping cart data
priceAfterDiscount
Type: OnlineSystem Double
SKU price in main currency after discount the tax should be applied to
parentSku (Optional)
Type: CMS.Ecommerce SKUInfo
The parent SKU for option(SKU) price calculation. Parent SKU taxes will be used.

Return Value

Type: OnlineDouble
See Also