ShoppingCartInfoAddCouponCode Method |
Applies the specified coupon code to the shopping cart and evaluates the cart.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax public bool AddCouponCode(
string couponCode
)
Parameters
- couponCode
- Type: SystemString
Coupon code to apply.
Return Value
Type:
BooleanTrue, if the
couponCode is applied. False otherwise.
Exceptions See Also