ShoppingCartServiceTryApplyDiscount Method
Attempts to apply a discountCode to the shopping cart.
Namespace: Ignition.Commerce.ShoppingAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public bool TryApplyDiscount(
string discountCode
)
Public Function TryApplyDiscount (
discountCode As String
) As Boolean
public:
virtual bool TryApplyDiscount(
String^ discountCode
) sealed
abstract TryApplyDiscount :
discountCode : string -> bool
override TryApplyDiscount :
discountCode : string -> bool
- discountCode String
- Discount code to apply, as represented by a prc_eweb_code
BooleanA bool indicating whether or not the discount was successfully applied.
Note that discountCode is a NetForum discount code, not a source code