For backend order:
/test/app/design/adminhtml/default/default/template/sales/order/view/items/renderer/default.phtml
add lines after first td closed:-
<td><?php $custom2=Mage::getModel('catalog/product')->load($_item->getId());
echo $custom2->getDescription();
?>
</td>
/test/app/design/adminhtml/default/default/template/sales/order/view/item.phtml
after the line <th><?php echo $this->helper('sales')->__('Product') ?></th>
add the line:
<th><?php echo $this->helper('sales')->__('Product Description') ?></th>
For frondend order In my account:
/test/app/design/frontend/base/default/template/sales/order/items/renderer/default.phtml
add this line after first td close
<td><?php $custom2=Mage::getModel('catalog/product')->load($_item->getId());
echo $custom2->getDescription();
?> </td>
/test/app/design/frontend/base/default/template/sales/order/item.phtml
after line this " <th><?php echo $this->__('Product Name') ?></th>"
add the lines:
<th><?php echo $this->__('Product Discription') ?></th>
For cart page in frountend:
/app/design/frontend/base/default/template/checkout/cart/item/default.phtml
<td><?php $custom2=Mage::getModel('catalog/product')->load($_item->getId());
echo $custom2->getDescription();
?> </td>
/app/design/frontend/base/default/template/checkout/cart.phtml
<th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Description') ?></span></th>
/test/app/design/adminhtml/default/default/template/sales/order/view/items/renderer/default.phtml
add lines after first td closed:-
<td><?php $custom2=Mage::getModel('catalog/product')->load($_item->getId());
echo $custom2->getDescription();
?>
</td>
/test/app/design/adminhtml/default/default/template/sales/order/view/item.phtml
after the line <th><?php echo $this->helper('sales')->__('Product') ?></th>
add the line:
<th><?php echo $this->helper('sales')->__('Product Description') ?></th>
For frondend order In my account:
/test/app/design/frontend/base/default/template/sales/order/items/renderer/default.phtml
add this line after first td close
<td><?php $custom2=Mage::getModel('catalog/product')->load($_item->getId());
echo $custom2->getDescription();
?> </td>
/test/app/design/frontend/base/default/template/sales/order/item.phtml
after line this " <th><?php echo $this->__('Product Name') ?></th>"
add the lines:
<th><?php echo $this->__('Product Discription') ?></th>
For cart page in frountend:
/app/design/frontend/base/default/template/checkout/cart/item/default.phtml
<td><?php $custom2=Mage::getModel('catalog/product')->load($_item->getId());
echo $custom2->getDescription();
?> </td>
/app/design/frontend/base/default/template/checkout/cart.phtml
<th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Description') ?></span></th>
That is really fascinating, You're an excessively professional blogger. I've joined your feed and sit up for in the hunt for more of your fantastic post. Also, I've shared your site in my social networks.
ReplyDeleteHire Magento Developers