cancel
Showing results for 
Search instead for 
Did you mean: 

Tracking Information inside Shipment Email Issue

Tracking Information inside Shipment Email Issue

I have an issue where a 3rd party program is sending the shipment and tracking information to magento, and sending the shipment confirmation email (which is all working), however it is not including the tracking information which has been placed within my custom template (via {{block type='core/template' area='frontend' template='email/order/shipment/track.phtml' shipment=$shipment order=$order}} ). Through reading a few different articles, I have come to see that the addTrack function within Mage/Sales/Model/Order/Shipment/Api.php is after the create function, which is where the email is being sent from.. thus the email is being sent before the addTrack has even ran.

 

My question would be where or how could I edit this (in local of course) to allow for the addTrack to run prior to shooting off the email. Any ideas??