MultiBuyDiscountInfoAcceptsCoupon Method |
Indicates if given coupon code is suitable for this discount. Returns false if this discount has no codes assigned.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntaxpublic bool AcceptsCoupon(
string couponCode,
bool ignoreUseLimit
)
Parameters
- couponCode
- Type: SystemString
Code to be checked - ignoreUseLimit
- Type: SystemBoolean
Indicates if use limitation is to be ignored.
Return Value
Type:
Boolean
See Also