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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- sku
- Type: CMS.Ecommerce SKUInfo
SKU data
- cart
- Type: CMS.Ecommerce ShoppingCartInfo
Shopping cart data
- priceAfterDiscount
- Type: System 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: DoubleSee Also