Promotion: FilterΒΆ
Available since: 1.0.0
Provided tokens
| Token | Description |
|---|---|
[commerce_order] |
The order entity. |
[commerce_promotions] |
An array of promotion entities. |
[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 when promotions are being evaluated for an order. Useful for implementing custom promotion exclusion logic beyond what Commerce conditions provide (e.g., restrict to first-time customers or based on external loyalty data).