1

How can i create products link, if i click Items Ordered Products in Order View, its go to products page in website. So, i can i view directly from Order View page.

enter image description here

0

Just goto app/design/adminhtml/default/template/sales/order/view/items/renderer/default.phtml.

Then add this code

   if($_item->getProductId()){
    $product_collection = Mage::getModel('catalog/product')->getCollection()
        ->addAttributeToFilter('entity_id', $_item->getProductId())
    ->addUrlRewrite();
    if($product_collection->getSize()):
        $product_collection_url = $product_collection->getFirstItem()->getProductUrl();
    endif;

    }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.