onCouponApplied( )


An event that is triggered when a coupon is used.

The onCouponApplied() event handler runs when an order with an applied coupon is completed, or when an order is manually marked as paid.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventCouponAppliedEventRequired

Information about an applied coupon.

Was this helpful?
Yes
No