Calculates discount which should be applied to the total items price. If discount is higher than total items price, total items price is returned.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- cart
- Type: CMS.Ecommerce ShoppingCartInfo
Shopping cart
Return Value
Type: DoubleSee Also