Returns calculated tax based on the product price and tax type.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- price
- Type: System Double
Price the tax should be calculated from
- taxValue
- Type: System Double
Tax value
- isFlat
- Type: System Boolean
True - tax value is flat (both price and tax value must be expressed in the same currency to obtain correct result), False - tax value is relative (currency of the price is not important).
Return Value
Type: DoubleSee Also