Click or drag to resize
SKUInfoProviderCalculateSKUTotalTax Method
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: 9.0.0
Syntax
C#
public static double CalculateSKUTotalTax(
	SKUInfo sku,
	ShoppingCartInfo cart,
	double priceAfterDiscount
)

Parameters

sku
Type: CMS.EcommerceSKUInfo
SKU data
cart
Type: CMS.EcommerceShoppingCartInfo
Shopping cart data
priceAfterDiscount
Type: SystemDouble
SKU price in main currency after discount the tax should be applied to

Return Value

Type: Double
See Also