Top Menu

Find Out

app/design/adminhtml/default/default/template/sales/order/view/items.phtml
Suppose we want to add product images then we have to add with an extra table head with the current haead

<th><?php echo $this->helper(‘sales’)->__(‘Images’) ?></th> // line No 39

And Next Step 

Again find out
app/design/adminhtml/default/default/template/sales/order/view/items/renderer/default.phtml

<td>
   <?php
    $obj = Mage::getModel(‘catalog/product’);
     
    $_product = $obj->load($_item->getProductId());?>
    <img src=”<?php echo $this->helper(‘catalog/image’)->init($_product, ‘small_image’)->resize(150); ?>” alt=”images” />
</td>

About The Author

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Close