Herzlich willkommen

How to show the VAT number in transactional emails?

Erstellt bei: 19.01.2017 | Aktualisiert unter: 01.03.2021
1. As the number is saved on the customers address, you can either use the address templates and add the VAT number like this:
{{depend vat_id}}VAT number: {{var vat_id}}{{/depend}}
Magento show VAT number in customer address templates
2. or you can use the direct call to print the VAT number in any place you want within the transactional email:
{{var order.getShippingAddress().getVatId()}}
Kategorien: