Click or drag to resize
DiscountInfoProviderGetDiscountInfoInternal Method (String, String)
Returns discount with specified name. If site discount is not found and global discounts are allowed, tries to search for global discount with the same name.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
protected virtual DiscountInfo GetDiscountInfoInternal(
	string discountName,
	string siteName
)

Parameters

discountName
Type: SystemString
Discount name
siteName
Type: SystemString
Site name

Return Value

Type: DiscountInfo
See Also