
Originally Posted by
wsworx
In addition to the above, when I click on a link in the Edit Order window it is adding the word "TARGET" to the end of the tracking number when it takes me to the link. In this case it is the USPS page. Of course that then causes USPS to state that no such tracking number exists.

Found it (arggh). In /admin/includes/classes/observers/TyPackageAdminObserver.php, towards the end of the file, find
Code:
$this->eo_field_display .= (constant("CARRIER_NAME_$ty") . ': <a href="' . constant("CARRIER_LINK_$ty") . $track_id . ' target="_blank" rel="noreferrer noopener">' . $track_id . '</a> ');
and add the missing closing double-quote:
Code:
$this->eo_field_display .= (constant("CARRIER_NAME_$ty") . ': <a href="' . constant("CARRIER_LINK_$ty") . $track_id . '" target="_blank" rel="noreferrer noopener">' . $track_id . '</a> ');
See also this (https://github.com/lat9/zen_TyPackageTracker/issues/7) GitHub issue for tracking.
Bookmarks