Returns discount calculated from the specified price.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- price
- Type:
System Double
Price from which the discount should be calculated
- value
- Type:
System Double
Discount value
- isFlat
- Type:
System Boolean
True - discount value is flat, False - discount value is relative
Return Value
Type:
See Also