Tax: Customer profileΒΆ
Available since: 1.0.0
Provided tokens
| Token | Description |
|---|---|
[commerce_order_item] |
The order item entity. |
[customer_profile] |
A customer profile. |
[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 customer profile to use for tax calculation per order item. By default the billing profile is used.
Shipping-based tax calculation
Set the customer profile to the shipping profile to calculate tax based on the ship-to address instead of the billing address.