Order: Assign order¶
Available since: 1.0.0
Provided tokens
| Token | Description |
|---|---|
[commerce_customer] |
The current customer, this is a Drupal User. |
[commerce_order] |
The order 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 when an order is assigned to a customer -- typically when an anonymous
cart is assigned after login or registration, or when an admin reassigns an
order. The [commerce_order] token provides the order (still with original
customer data) and [commerce_customer] the new customer.