Cart: Order item comparison fields¶
Available since: 1.0.0
Provided tokens
| Token | Description |
|---|---|
[commerce_order_item] |
The order item entity. |
[commerce_order_item_comparison_fields] |
The fields to compare. |
[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 determining which fields to compare when deciding if order items can be merged in the cart. Add custom field names to prevent merging when items differ in those fields (e.g., gift messages, custom engravings).