Magento Shipment Emails Don't Include Tracking Number

Magento Shipment Emails Don't Include Tracking Number

This workaround should no longer be needed! We make an API call to salesOrderShipmentSendInfo which works around this Magento issue without needing to do anything special on the Magento side.


By default, Magento shipment emails are sent without tracking numbers. This is because the Magento API requires a two step process. First we create a Shipment for the order, and then we add the tracking numbers to the Shipment. Unfortunately Magento sends out the email after Step 1, but before Step 2.


This solution will fix the email issue for orders confirmed via CartRover. It may prevent emails being sent if you also use another method of confirming some orders. If you will also use other methods of confirming orders, please test it after making these changes so you can revert them if needed.

The missing tracking number can be fixed by telling Magento not to send the email until after the tracking number has been added. Follow these directions to set this up.

  1. In the Magento Admin Panel, go to System > Templates > Transactional Emails
    1. Sometimes it is under System > Transactional Emails
  2. Click the Add New Template button at the top of the page.
  3. For the Template option, choose New Shipment from the pulldown list and click Load Template.
  4. Enter a new unique Template Name like: New Shipment after Tracking
  5. Click Save Template at the top of the page.
  6. Repeat steps 2 - 5, but this time choose New Shipment for Guest as the Template.
  7. Now go to System > Configuration
  8. Click Sales Emails under the Sales section.
  9. Select the Shipment section to expand it, then set the Enabled option to No.
  10. Select the Shipment Comments section to expand it, then set Enabled to Yes.
  11. For the Shipment Comment Email Template option, select the first template you setup.
  12. For the Shipment Comment Email Template for Guest option, select the second template you setup.
  13. Click Save Config at the top of the page.
  14. After this, Magento will only send shipment notification emails to your customer after the tracking has been uploaded to the system.

    • Related Articles

    • Invalid carrier specified - Magento

      Problem Could not upload tracking information to Magento because "Invalid carrier specified." This is caused when you ship orders using a carrier not defined in Magento. Solution Option 1: Add the missing carrier To solve the issue you need to add ...
    • Magento orders missing products

      Problem After upgrading Magento to version or above, orders in CartRover no longer contain any products. The inventory sync may have stopped working as well. Solution This is caused by a bug in Magento. There are currently two options you ...
    • Access Denied - Magento

      Problem Some Magento actions fail with "Access Denied". Example: Solution This is caused by the API user not being given enough permissions. Go to: System -> Web Services -> Users Look at which "Role" the API user is assigned to. Go to: System -> Web ...
    • Invalid api path - Magento

      Problem CartRover displays the following error message when connecting to Magento: Invalid api path Solution This error is most commonly caused by improperly adding custom endpoints to the Magento API, which breaks/blocks the standard API endpoints. ...
    • Setting Up Magento

      These instructions are for Magento 1. The latest version of Magento is Magento 2. If you have Magento 2, the setup instructions for that version can be found here. You can view your current version of Magento by logging into the Admin panel and ...