Change items ordered informations
Question
I'm trying to add an already created custom attribute to the admin order review page. So far I managed to find this function but I don't know what should I change in order to display my attribute, instead of SKU.
public function getItemsHtml()
{
return $this->getChildHtml('order_items');
}
Solution
I Managed to display that attribute using this:
<?php echo $this->escapeHtml($_item->getarticleNumber()) ?>
in adminhtml/default/default/template/sales/item/column/name.phtml
.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange