1

How can I add track button on sales/order/history/

2
  • Mention the magento version please. – Sukumar Gorai Apr 26 '19 at 13:23
  • Sukumar Gorai, sorry. Is magento 1 – Rannye Rodrigues Apr 26 '19 at 14:03
0

Copy the below file:

app/design/frontend/base/default/template/sales/order/history.phtml

to your theme(if its not present in your theme location):

app/design/frontend/[your_package]/[your_theme]/template/sales/order/history.phtml

Find the below block:

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

and uncomment it:

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

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