Hello,
I have two suggestions for you:
1. Easy to do.
We will load all attributes using:
$product = Mage::getModel('catalog/product')->load($item->getProductId();
$product->getData('ncm');
However, not correct if product is deleted.
2. Default Community Edition Magento has eight different types of EAV objects:
Customer, Customer Address, Catalog Category, Catalog Product, Order, Invoice, Credit Memo, Shipment.
Here is the flow of Magento Order process:
Before pressing Place Order button on Onepage checkout, all necessary information are stored in Quote tables, and then will be transferred to Order tables. After making invoice, the necessary information for an invoice will store in invoice tables.
Shortly, we can create attribute Ncm for Quote, Order, Invoice object. And then call it by $item->getNcm();
I have done a tutorial:
http://www.boolfly.com/add-custom-fields-to-order-magento-part-2/
Problem solved? Click Accept as Solution!