ShoppingCartServiceTryApplyDiscount Method

Attempts to apply a discountCode to the shopping cart.

Definition

Namespace: Ignition.Commerce.Shopping
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public bool TryApplyDiscount(
	string discountCode
)

Parameters

discountCode  String
Discount code to apply, as represented by a prc_eweb_code

Return Value

Boolean
A bool indicating whether or not the discount was successfully applied.

Remarks

Note that discountCode is a NetForum discount code, not a source code

See Also