title: Add custom attribute in order email templates - Magento
body: <p>I have created a 'Companyname' attribute which gets added up in my Customer's Account information and is a required field. </p>
  
  <p>It gets filled up on registration, form and edit pages fine and gets displayed on Customer's Grid in the back-end too.</p>
  
  <p>However I am not able to display the Company name in any of my order email templates. </p>
  
  <p>I believe this is because there is neither any column called 'companyname' in my order tables nor do I have any custom variable which I can pass to order/invoice/shipment templates to display Company name right next to the line after Customer's name.</p>
  
  <p>Can any one point out the file where I can create this custom variable containing my custom 'companyname' attribute and pass it to all types of sales email templates </p>
  
  <p>Thanks</p>