I want to set customer first name on transactions email after create new customer account in magento2

I tried this line but that did not work

{{trans "Dear %name," name=$Firstname}}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.