Click or drag to resize
IProductDiscountServiceGetProductDiscounts Method
Returns the discount application summary for the given sku product.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
ValuesSummary GetProductDiscounts(
	SKUInfo sku,
	decimal standardPrice,
	PriceParameters priceParams
)

Parameters

sku
Type: CMS.EcommerceSKUInfo
Product or product option
standardPrice
Type: SystemDecimal
Input price for calculation.
priceParams
Type: CMS.EcommercePriceParameters
PriceParameters calculation parameters.

Return Value

Type: ValuesSummary
See Also