|ShippingOptionInfoProviderCalculateShippingDiscount Method |
Calculates shipping discount for supplied shopping cart. Uses ShippingDiscounts collection of cart.
Resulting discount will not be higher that shipping.
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
public static double CalculateShippingDiscount(
- Type: CMS.EcommerceShoppingCartInfo
Shopping cart to calculate shipping discount for.
- Type: SystemDouble
Base price of shipping to apply discounts to.