php - Adding custom product attribute to transactional emails in Magento 1.9 -


i need print 2 text attributes below item ordered in magento new order template. i've searched , found multiple ways, not seem work 1.9 far tried. perhaps i'm doing wrong, never seems explained clearly.

sample code follows:

<tr>     <td class="order-details">         <h3>your order <span class="no-link">#{{var order.increment_id}}</span></h3>         <p>placed on {{var order.getcreatedatformated('long')}}</p>     </td> </tr> <tr class="order-information"> //preferably custom product attribute prints here     <td>         {{if order.getemailcustomernote()}}         <table cellspacing="0" cellpadding="0" class="message-container">             <tr>                 <td>{{var order.getemailcustomernote()}}</td>             </tr> 

i'm new magento, i'd right. please point me in right direction 2 custom product attributes print in 1.9 email template?

//$order =order object foreach($order->getallitems() $item){           $product=mage::getmodel('catalog/product')->load($item->getproductid());       echo  mage::helper('catalog/image')->init($product, 'small_image')->resize(50,50); }