Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.Ecommerce Namespaces
CMS.Ecommerce
ShoppingCartInfo Class
ShoppingCartInfo Methods
AddCouponCode Method
CalculateRemainingAmountForFreeShipping Method
DeleteObject Method
Evaluate Method
GetObjectData Method
IsRecent Method
RegisterProperties Method
RemoveCouponCode Method
SetObject Method
SetShoppingCartUser Method
ShoppingCartInfo
RemoveCouponCode Method
Removes the specified coupon code from the shopping cart and evaluates the cart.
Namespace:
CMS.Ecommerce
Assembly:
CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
Copy
public
void
RemoveCouponCode
(
string
couponCode
)
Parameters
couponCode
Type:
System
String
Coupon code to remove.
Exceptions
Exception
Condition
ArgumentException
Thrown when
couponCode
is null or empty.
See Also
Reference
ShoppingCartInfo Class
CMS.Ecommerce Namespace
ShoppingCartInfo
Evaluate
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com