DiscountCouponInfoProviderGetDiscountCouponInfo Method (String, String) |
Returns discount coupon with specified code. If site coupon is not found and global coupons are allowed, tries to search for global coupon with the same code.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax public static DiscountCouponInfo GetDiscountCouponInfo(
string couponCode,
string siteName
)
Parameters
- couponCode
- Type: SystemString
Discount coupon code - siteName
- Type: SystemString
Site name
Return Value
Type:
DiscountCouponInfoSee Also