Jump to content

Track The Shipment link to open in a new page


Recommended Posts

Hi All.

Don't know if there is anyone else out there that has the same annoyance with this as me but if you do, can you bump my bug please?

Basically I use the 'Track the shipment' link a LOT every day to track the nights shipments which by default opens in the same window/tab/page and you have to use the back button to go back into your PS store.

Much easier to sit there and click, look for 'Delivered' and use the keyboard short cut to close the page and PS is there ready waiting for you to change the status (no load time, just waiting there for you)

If you agree - a much appreciated bug bump would be great.

Bug Url: http://www.prestashop.com/bug_tracker/view/6006/

Thanks

P.S I've edited the page myself (core edit) but it is obviously overwritten on every new update or release.

Link to comment
Share on other sites

Yes I agree this should be fixed, especially since it's an easy fix. We haven't upgraded so a one time fix (by editing a core file) has fixed this issue for us. So can't help with frequent updaters but for a quick fix this is what we did:

Around line 519 (1.2.5) of /admin/tabs/AdminOrders.php... change this line:

               echo $this->l('Tracking number:').' '.$order->shipping_number.' (shipping_number, $carrier->url).'">'.$this->l('Track the shipment').')';



and change it to:

               echo $this->l('Tracking number:').' '.$order->shipping_number.' (shipping_number, $carrier->url).'" target="_blank">'.$this->l('Track the shipment').')';



HTH!

Link to comment
Share on other sites

  • 3 months later...
  • 3 months later...
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...