cancel
Showing results for 
Search instead for 
Did you mean: 

Skip shipment tracking popup window

Skip shipment tracking popup window

I'm using custom shipping module. Currently, on customer account sales order shipment page, when clicking 'Track this shipment' or 'Tracking number', a popup window comes out with tracking number, carrier's name and web link.

 

I want to show the carrier url right in this table on customer account sales order shipment page (the popup window is redundant and then could be skipped), so I copied code line from

/app/design/frontend/Custom/default/template/shipping/tracking/popup.phtml

and paste (add a table line) on file

/app/design/frontend/Custom/default/template/sales/order/shipment/items.phtml

 

<tr><td><a href="<?php echo $this->escapeHtml($track->getUrl()); ?>" onclick="this.target='_blank'"><?php echo $this->escapeHtml($track->getUrl()); ?></a></td></tr>

 

Nothing show up.

How to fetch the info and display here? Thank you.