Validates volume discount and calculates shopping cart item unit discount after the volume discount is applied.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- item
- Type: CMS.Ecommerce ShoppingCartItemInfo
Shopping cart item to which the volume discount should be applied
- discount
- Type: CMS.Ecommerce VolumeDiscountInfo
Volume discount data
- basePrice (Optional)
- Type: System Double
Price to apply discount to.
Return Value
Type: DoubleSee Also