I am working on custom email template.
So I needed customer Billing and Shipping address in below file.
/vendor/magento/module-sales/view/frontend/templates/email/items.phtml
Can any 1 help me to get customer address of placed order.
billing-addresscustomer-addressmagento2order-emailshipping-address
I am working on custom email template.
So I needed customer Billing and Shipping address in below file.
/vendor/magento/module-sales/view/frontend/templates/email/items.phtml
Can any 1 help me to get customer address of placed order.
Best Answer
You can add this piece of code in the file:
With
$billingAddress
now you can get address e.g: