cancel
Showing results for 
Search instead for 
Did you mean: 

How to show Company Job Title and Comment In Email Template

How to show Company Job Title and Comment In Email Template

I am trying to find way to add Job Title and the Comment from Company Admin into order confirmation email template.

I can add

first name, last name, middle name, suffix, prefix

but no code founded or defined on magento site to add

Job title from "Company Admin" and Comment from "Account Information", 

how to add those 2 into email template from company in Magento 2 ?

Reference Document: https://docs.magento.com/user-guide/customers/account-company-admin.html

2 REPLIES 2

Re: How to show Company Job Title and Comment In Email Template

For reference please check this image: https://ibb.co/K7XQVWd

Re: How to show Company Job Title and Comment In Email Template

Hi @mr_bukhari 

You can send customer data in order emails. Check the below links. 

https://magento.stackexchange.com/a/163950

https://magecomp.com/blog/add-custom-parameter-in-customer-order-email-of-magento-2/

I hope it will help you!