Skip to main content
deleted 7 characters in body
Source Link
Amit Bera
  • 77.7k
  • 20
  • 124
  • 239

Sales order item object do not save Manufacturer attribute to sales_flat_order_item table. If you want get Manufacturer then you need load Product by $item->getProduct()->getId>getProductId();

Like:

$product=Mage::getModel('catalog/product')->load($item->getProductId());

$info['manufacturer'] = $product->getManufacturer();

Sales order item object do not save Manufacturer attribute to sales_flat_order_item table. If you want get Manufacturer then you need load Product by $item->getProduct()->getId();

Like:

$product=Mage::getModel('catalog/product')->load($item->getProductId());

$info['manufacturer'] = $product->getManufacturer();

Sales order item object do not save Manufacturer attribute to sales_flat_order_item table. If you want get Manufacturer then you need load Product by $item->getProductId();

Like:

$product=Mage::getModel('catalog/product')->load($item->getProductId());

$info['manufacturer'] = $product->getManufacturer();
Source Link
Amit Bera
  • 77.7k
  • 20
  • 124
  • 239

Sales order item object do not save Manufacturer attribute to sales_flat_order_item table. If you want get Manufacturer then you need load Product by $item->getProduct()->getId();

Like:

$product=Mage::getModel('catalog/product')->load($item->getProductId());

$info['manufacturer'] = $product->getManufacturer();