Message template and customer address attributes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hello,
I need help with Message templates - how to add a new customer address attribute (added by Administration - Configuration - Settings - Customer settings - Address form fields - Custom address attributes) to Message template (eg. OrderPlaced.CustomerNotification / OrderPlaced.StoreOwnerNotification etc.).
7 years ago
davemacblack wrote:
Hello,
I need help with Message templates - how to add a new customer address attribute (added by Administration - Configuration - Settings - Customer settings - Address form fields - Custom address attributes) to Message template (eg. OrderPlaced.CustomerNotification / OrderPlaced.StoreOwnerNotification etc.).

The can be added by using the %Order.BillingCustomAttributes% and %Order.ShippingCustomAttributes% message tokens which can be seen in the list of allowed message tokens on the admin demo site.

Note that this just outputs a block of all the custom address attributes, there isn't currently any built in way of accessing individual custom address attributes.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.