EcommerceTransformationFunctionsGetDiscountCouponCodeRemoveButton Method |
Returns button usable for removing shopping cart coupon code.
Namespace: CMS.Ecommerce.Web.UIAssembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 12.0.0
Syntax public static string GetDiscountCouponCodeRemoveButton(
string couponCode,
string cssClass = null,
string buttonText = null
)
Parameters
- couponCode
- Type: SystemString
Discount coupon code value - cssClass (Optional)
- Type: SystemString
CSS class; "btn btn-default" class is used by default - buttonText (Optional)
- Type: SystemString
Text of the button; resource string with key "general.remove" is used by default
Return Value
Type:
StringSee Also