Promotion: Coupon presaveΒΆ
Available since: 1.0.0
Provided tokens
| Token | Description |
|---|---|
[commerce_coupon] |
The coupon entity. |
[event] |
The event. |
[event:machine_name] |
The machine name of the ECA event. |
[session_user] |
The user account that dispatched the event, regardless if ECA is processing models under a different account. |
Reacts before a coupon is saved to storage. Fires for both new and existing
entities. The [commerce_coupon] token provides the coupon entity.