Tracking Link New Tab
-
Hey there,
The new version ads in a number based tracking link under the shipping provider logo.
Now ehere there is an option for the tacking button to have a ‘open in new tab’ attribute the text based number provided under the provider logo doesnt.
So when a customer clicks that link they are taken away from the website. Bad. Not good at all.
A very simple fix I would say to add in target=”_blank” to the tracking-info.php file @ line 77 – hope you will get that pushed out in an update quickly as we dont like to update core plugin files…
For those that want that change now whilst an update gets released, simply navigate to: woo-advanced-shipment-tracking\templates\myaccount\ folder
Open: tracking-info.php
@line 77 update this:
<a class="tracking_number" href="<?php echo esc_url( $tracking_item['ast_tracking_link'] ); ?>">
To this:
<a class="tracking_number" href="<?php echo esc_url( $tracking_item['ast_tracking_link'] ); ?>" target="_blank">
- The topic ‘Tracking Link New Tab’ is closed to new replies.