Tax: BuildΒΆ
Plugin ID: eca_commerce:tax_build
Available since: 1.0.0
Provided tokens
| Token | Description |
|---|---|
[user] |
The current user. Alias: current_user |
[commerce_tax_plugin] |
The local tax type plugin. |
[commerce_tax_zones] |
An array of tax zones. |
[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. This is only available if ECA is configured to always run under a specific account. |
Reacts when tax zones are being built for a local tax type plugin. Useful for dynamically adding special tax zones, modifying rates, or removing zones based on business logic.