Click or drag to resize
IVolumeDiscountSourceGetDiscount Method
Returns product volume discount applicable to the specified sku when purchased in given quantity.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
VolumeDiscountInfo GetDiscount(
	SKUInfo sku,
	decimal quantity
)

Parameters

sku
Type: CMS.EcommerceSKUInfo
The product to get volume discount for.
quantity
Type: SystemDecimal
The amount of the sku.

Return Value

Type: VolumeDiscountInfo
See Also