Trying to display a custom column from sales_flat_order in client´s panel order history. I already created two columns in sales_flat_order with tracking no. and carrier, but I intend to show them in order history. So the clients could easily track their orders by clicking on the tracking no..

My early appreciations for any kind of help. Honestly I got stuck. Thank you.

1 Answer 1


We have check some in our local system, and found that Magento core comment the "TRACK ORDER". So you have uncomment the below mentioned coding.

File Path: /app/design/frontend/rwd/default/template/sales/order/

File Name: history.phtml

Before changing Coding:

<?php /*<span class="separator">|</span><a href="<?php echo $this->getTrackUrl($_order) ?>"><?php echo $this->__('Track Order') ?></a>&nbsp;*/ ?>

After changing coding:

<span class="separator">|</span><a href="<?php echo $this->getTrackUrl($_order) ?>"><?php echo $this->__('Track Order') ?></a>&nbsp;

Sample Output:

enter image description here

Should you require any further details, then please do not hesitate to revert!!!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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