I need to use a Name from Billing or Shipping Address in an order confirmation email.
I tried several ways but none of them work…
It's Magento 2.4.1
How can I do that?
Thanks in advance!
Do you want to use firstname or full name from billing?
Anyway, I've described how to extend order data for emails in neighboring topic:
https://magento.stackexchange.com/a/358613/91782
You can add additional data in example observer