Click or drag to resize
MultiBuyDiscountInfoProvider.GetRunningDiscounts Method
Gets running discounts on given sites in defined time. If discount uses coupons, only discounts with usable coupons are returned.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax
C#
public static ObjectQuery<MultiBuyDiscountInfo> GetRunningDiscounts(
	SiteInfoIdentifier site,
	DateTime date
)

Parameters

site
Type: CMS.DataEngine.SiteInfoIdentifier
Site to get active discounts for.
date
Type: System.DateTime
Time when discount should be active.

Return Value

Type: ObjectQuery<MultiBuyDiscountInfo>
See Also