How to show the VAT number in transactional emails?
Created at: 19 janv. 2017 | Updated at: 1 mars 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:
2. or you can use the direct call to print the VAT number in any place you want within the transactional email:
{{depend vat_id}}VAT number: {{var vat_id}}{{/depend}}
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()}}
Categories: