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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax protected virtual DiscountInfo GetDiscountInfoInternal(
string discountName,
string siteName
)
Parameters
- discountName
- Type: SystemString
Discount name - siteName
- Type: SystemString
Site name
Return Value
Type:
DiscountInfoSee Also