Manually attach ShipGateway to a tracking number.
Posted: Fri Apr 22, 2016 3:57 am
Our client wants a single screen where they can import tracking numbers for all shipping companies.
We already have the logic to parse the file and load the list of tracking numbers on the orders.
However, the tracking numbers do not show clickable in the admin section or emails because the ShipGateway is never set, so it cannot get the tracking number link from the ShipGateway.
How can I manually assign a ShipGateway to a tracking number?
I'd like to auto determine the shipping company by tracking number, but if not I can just make the user choose the shipping company from a drop down when loading their custom tracking number file.
Thanks in advance
We already have the logic to parse the file and load the list of tracking numbers on the orders.
However, the tracking numbers do not show clickable in the admin section or emails because the ShipGateway is never set, so it cannot get the tracking number link from the ShipGateway.
How can I manually assign a ShipGateway to a tracking number?
I'd like to auto determine the shipping company by tracking number, but if not I can just make the user choose the shipping company from a drop down when loading their custom tracking number file.
Thanks in advance