To add below code in /app/design/Adminhtml/default/default/template/sales/items/column/name.phtml
"
"
-------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
<?php if ($_item = $this->getItem()): ?>
<h5 class="title"><span id="order_item_<?php echo $_item->getId() ?>_title"><?php echo $this->htmlEscape($_item->getName()) ?></span></h5>
<div><strong><?php echo $this->helper('sales')->__('SKU') ?>:</strong> <?php echo implode('<br />', Mage::helper('catalog')->splitSku($this->htmlEscape($this->getSku()))); ?>
<?php echo "<p><b>Author:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('author') ?>
<?php echo "</p>"; ?>
<?php echo "<p><b>Publisher:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('publishers') ?>
<?php echo "</p>"; ?>
<?php echo "<p><b>Published Year:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('publication_year') ?>
<?php echo "</p>"; ?>
<?php echo "<p><b>Edition:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('edition') ?>
<?php echo "</p>"; ?>
<?php echo "<p><b>Language:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('language') ?>
<?php echo "</p>"; ?>
<?php echo "<p><b>ISBN 10:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('isbn10') ?>
<?php echo "</p>"; ?>
<?php echo "<p><b>ISBN 13:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('isbn13') ?>
<?php echo "</p>"; ?>
</div>
"
<?php
echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('author')
?>
"
-------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
<?php if ($_item = $this->getItem()): ?>
<h5 class="title"><span id="order_item_<?php echo $_item->getId() ?>_title"><?php echo $this->htmlEscape($_item->getName()) ?></span></h5>
<div><strong><?php echo $this->helper('sales')->__('SKU') ?>:</strong> <?php echo implode('<br />', Mage::helper('catalog')->splitSku($this->htmlEscape($this->getSku()))); ?>
<?php echo "<p><b>Author:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('author') ?>
<?php echo "</p>"; ?>
<?php echo "<p><b>Publisher:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('publishers') ?>
<?php echo "</p>"; ?>
<?php echo "<p><b>Published Year:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('publication_year') ?>
<?php echo "</p>"; ?>
<?php echo "<p><b>Edition:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('edition') ?>
<?php echo "</p>"; ?>
<?php echo "<p><b>Language:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('language') ?>
<?php echo "</p>"; ?>
<?php echo "<p><b>ISBN 10:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('isbn10') ?>
<?php echo "</p>"; ?>
<?php echo "<p><b>ISBN 13:</b> "; ?>
<?php echo $Author = Mage::getModel('catalog/product')->load($_item['product_id'])->getData('isbn13') ?>
<?php echo "</p>"; ?>
</div>
No comments:
Post a Comment