Order Tracking not showing up in shipment emailHow magento 1.7 creates new shipment from admin area?Does magento update paypal with tracking information?Order confirmation email sent multiple time - same order confirmation sent to all - unable to stop sendingChange the Tracking Information Shipment # to Order #M 1.9.0.1 - path hints showing in order emailSOLVED Including comment in programmatically sent out Shipment EmailNew Order Confirmation Email Not Being SentMagento Shipment Email Confirmation Being Sent TwiceMagento 1.9.3.1 is not sending any order/shipment emailsOrder confirmation emails not sending

Why does processed meat contain preservatives, while canned fish needs not?

a sore throat vs a strep throat vs strep throat

Sci fi novel series with instant travel between planets through gates. A river runs through the gates

How can Republicans who favour free markets, consistently express anger when they don't like the outcome of that choice?

The Defining Moment

Contradiction proof for inequality of P and NP?

Please, smoke with good manners

Does this extra sentence in the description of the warlock's Eyes of the Rune Keeper eldritch invocation appear in any official reference?

What does KSP mean?

Pulling the rope with one hand is as heavy as with two hands?

How to get a plain text file version of a CP/M .BAS (M-BASIC) program?

How come there are so many candidates for the 2020 Democratic party presidential nomination?

Why do Computer Science majors learn Calculus?

Packing rectangles: Does rotation ever help?

Does a semiconductor follow Ohm's law?

What does the "ep" capability mean?

Unexpected email from Yorkshire Bank

How exactly does Hawking radiation decrease the mass of black holes?

What makes accurate emulation of old systems a difficult task?

Stop and Take a Breath!

What is the strongest case that can be made in favour of the UK regaining some control over fishing policy after Brexit?

How to make a pipeline wait for end-of-file or stop after an error?

Using a Lyapunov function to classify stability and sketching a phase portrait

How to pronounce 'C++' in Spanish



Order Tracking not showing up in shipment email


How magento 1.7 creates new shipment from admin area?Does magento update paypal with tracking information?Order confirmation email sent multiple time - same order confirmation sent to all - unable to stop sendingChange the Tracking Information Shipment # to Order #M 1.9.0.1 - path hints showing in order emailSOLVED Including comment in programmatically sent out Shipment EmailNew Order Confirmation Email Not Being SentMagento Shipment Email Confirmation Being Sent TwiceMagento 1.9.3.1 is not sending any order/shipment emailsOrder confirmation emails not sending






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








5















Our site is sending shipment emails, but the email contains no tracking info. I've created a new template based off of the default one and added block type='core/template' area='frontend' template='email/order/shipment/track.phtml' shipment=$shipment order=$order but that part of the email is empty. When I click "Track Shipment" in the admin panel, it brings up the tracking number and a link to UPS,



We have a UPS API integrated to create shipments directly from Magento. It appears that the shipment email is being sent before the tracking number comes back. There is also a green status message that says "The shipment has been created." before any of the information like weight and dimensions are entered.



Looks like I get to dig through some code and move some things around.



What could I be missing?
Any help would be great here.










share|improve this question
























  • Having same issue with Magento CE 1.7

    – PartialOrder
    Sep 19 '13 at 13:57

















5















Our site is sending shipment emails, but the email contains no tracking info. I've created a new template based off of the default one and added block type='core/template' area='frontend' template='email/order/shipment/track.phtml' shipment=$shipment order=$order but that part of the email is empty. When I click "Track Shipment" in the admin panel, it brings up the tracking number and a link to UPS,



We have a UPS API integrated to create shipments directly from Magento. It appears that the shipment email is being sent before the tracking number comes back. There is also a green status message that says "The shipment has been created." before any of the information like weight and dimensions are entered.



Looks like I get to dig through some code and move some things around.



What could I be missing?
Any help would be great here.










share|improve this question
























  • Having same issue with Magento CE 1.7

    – PartialOrder
    Sep 19 '13 at 13:57













5












5








5








Our site is sending shipment emails, but the email contains no tracking info. I've created a new template based off of the default one and added block type='core/template' area='frontend' template='email/order/shipment/track.phtml' shipment=$shipment order=$order but that part of the email is empty. When I click "Track Shipment" in the admin panel, it brings up the tracking number and a link to UPS,



We have a UPS API integrated to create shipments directly from Magento. It appears that the shipment email is being sent before the tracking number comes back. There is also a green status message that says "The shipment has been created." before any of the information like weight and dimensions are entered.



Looks like I get to dig through some code and move some things around.



What could I be missing?
Any help would be great here.










share|improve this question
















Our site is sending shipment emails, but the email contains no tracking info. I've created a new template based off of the default one and added block type='core/template' area='frontend' template='email/order/shipment/track.phtml' shipment=$shipment order=$order but that part of the email is empty. When I click "Track Shipment" in the admin panel, it brings up the tracking number and a link to UPS,



We have a UPS API integrated to create shipments directly from Magento. It appears that the shipment email is being sent before the tracking number comes back. There is also a green status message that says "The shipment has been created." before any of the information like weight and dimensions are entered.



Looks like I get to dig through some code and move some things around.



What could I be missing?
Any help would be great here.







shipping email magento-1.6






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 4 '13 at 18:58







David Wilkins

















asked Jun 3 '13 at 16:27









David WilkinsDavid Wilkins

189320




189320












  • Having same issue with Magento CE 1.7

    – PartialOrder
    Sep 19 '13 at 13:57

















  • Having same issue with Magento CE 1.7

    – PartialOrder
    Sep 19 '13 at 13:57
















Having same issue with Magento CE 1.7

– PartialOrder
Sep 19 '13 at 13:57





Having same issue with Magento CE 1.7

– PartialOrder
Sep 19 '13 at 13:57










3 Answers
3






active

oldest

votes


















9














Possibly a little late for this, but....



There's a thread on the Magento forums here:
http://www.magentocommerce.com/boards/viewthread/9594/



If you look at the code for Mage_Sales_Model_Order_Shipment_Api, the confirmation email is being sent out as part of the create() function. Then, the tracking details are added later with a call to addTrack(), but by that time, the email is already sent.



The suggested solution is to edit the source and move the call to $shipment->sendEmail(), but I suspect that that isn't the most elegant solution - I suspect you'd be better off extending the class instead, and doing it that way.






share|improve this answer


















  • 1





    Thanks, that is exactly what I ended up doing. I never came back here to update, but thanks for the answer

    – David Wilkins
    Dec 5 '13 at 18:41






  • 1





    we can make one copy of Mage_Sales_Model_Order_Shipment_Api in local pool, and customize it.

    – John Yin
    Feb 19 '15 at 4:45











  • This is gold, exactly what I needed. Thank you.

    – dchayka
    Nov 13 '15 at 21:50


















0














That solution works for me, but be careful as another file extends the create() function. So you need to also comment the call to $shipment->sendEmail() in Sales/Order/Shipment/Api/V2.php






share|improve this answer






























    0














    Another approach without editing/extending Magento core is to modify your API call to not send the shipping email in the first place when creating the order. Just send it after adding the tracking code:




    1. Call sales_order_shipment.create with $email = FALSE see Mage_Sales_Model_Order_Shipment_Api and Mage_Sales_Model_Order_Shipment_Api_V2



      public function create($orderIncrementId, $itemsQty = array(), $comment = null, $email = false, $includeComment = false)



    2. Add the tracking code by calling sales_order_shipment.addTrack



      public function addTrack($shipmentIncrementId, $carrier, $title, $trackNumber)



    3. Call the method sales_order_shipment.sendInfo to trigger the shipment email



      public function sendInfo($shipmentIncrementId, $comment = '')


    Thats are actually better than modifying Magento default behavior. Good luck






    share|improve this answer

























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "479"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f4374%2forder-tracking-not-showing-up-in-shipment-email%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      9














      Possibly a little late for this, but....



      There's a thread on the Magento forums here:
      http://www.magentocommerce.com/boards/viewthread/9594/



      If you look at the code for Mage_Sales_Model_Order_Shipment_Api, the confirmation email is being sent out as part of the create() function. Then, the tracking details are added later with a call to addTrack(), but by that time, the email is already sent.



      The suggested solution is to edit the source and move the call to $shipment->sendEmail(), but I suspect that that isn't the most elegant solution - I suspect you'd be better off extending the class instead, and doing it that way.






      share|improve this answer


















      • 1





        Thanks, that is exactly what I ended up doing. I never came back here to update, but thanks for the answer

        – David Wilkins
        Dec 5 '13 at 18:41






      • 1





        we can make one copy of Mage_Sales_Model_Order_Shipment_Api in local pool, and customize it.

        – John Yin
        Feb 19 '15 at 4:45











      • This is gold, exactly what I needed. Thank you.

        – dchayka
        Nov 13 '15 at 21:50















      9














      Possibly a little late for this, but....



      There's a thread on the Magento forums here:
      http://www.magentocommerce.com/boards/viewthread/9594/



      If you look at the code for Mage_Sales_Model_Order_Shipment_Api, the confirmation email is being sent out as part of the create() function. Then, the tracking details are added later with a call to addTrack(), but by that time, the email is already sent.



      The suggested solution is to edit the source and move the call to $shipment->sendEmail(), but I suspect that that isn't the most elegant solution - I suspect you'd be better off extending the class instead, and doing it that way.






      share|improve this answer


















      • 1





        Thanks, that is exactly what I ended up doing. I never came back here to update, but thanks for the answer

        – David Wilkins
        Dec 5 '13 at 18:41






      • 1





        we can make one copy of Mage_Sales_Model_Order_Shipment_Api in local pool, and customize it.

        – John Yin
        Feb 19 '15 at 4:45











      • This is gold, exactly what I needed. Thank you.

        – dchayka
        Nov 13 '15 at 21:50













      9












      9








      9







      Possibly a little late for this, but....



      There's a thread on the Magento forums here:
      http://www.magentocommerce.com/boards/viewthread/9594/



      If you look at the code for Mage_Sales_Model_Order_Shipment_Api, the confirmation email is being sent out as part of the create() function. Then, the tracking details are added later with a call to addTrack(), but by that time, the email is already sent.



      The suggested solution is to edit the source and move the call to $shipment->sendEmail(), but I suspect that that isn't the most elegant solution - I suspect you'd be better off extending the class instead, and doing it that way.






      share|improve this answer













      Possibly a little late for this, but....



      There's a thread on the Magento forums here:
      http://www.magentocommerce.com/boards/viewthread/9594/



      If you look at the code for Mage_Sales_Model_Order_Shipment_Api, the confirmation email is being sent out as part of the create() function. Then, the tracking details are added later with a call to addTrack(), but by that time, the email is already sent.



      The suggested solution is to edit the source and move the call to $shipment->sendEmail(), but I suspect that that isn't the most elegant solution - I suspect you'd be better off extending the class instead, and doing it that way.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Oct 15 '13 at 17:24









      andrewsiandrewsi

      226310




      226310







      • 1





        Thanks, that is exactly what I ended up doing. I never came back here to update, but thanks for the answer

        – David Wilkins
        Dec 5 '13 at 18:41






      • 1





        we can make one copy of Mage_Sales_Model_Order_Shipment_Api in local pool, and customize it.

        – John Yin
        Feb 19 '15 at 4:45











      • This is gold, exactly what I needed. Thank you.

        – dchayka
        Nov 13 '15 at 21:50












      • 1





        Thanks, that is exactly what I ended up doing. I never came back here to update, but thanks for the answer

        – David Wilkins
        Dec 5 '13 at 18:41






      • 1





        we can make one copy of Mage_Sales_Model_Order_Shipment_Api in local pool, and customize it.

        – John Yin
        Feb 19 '15 at 4:45











      • This is gold, exactly what I needed. Thank you.

        – dchayka
        Nov 13 '15 at 21:50







      1




      1





      Thanks, that is exactly what I ended up doing. I never came back here to update, but thanks for the answer

      – David Wilkins
      Dec 5 '13 at 18:41





      Thanks, that is exactly what I ended up doing. I never came back here to update, but thanks for the answer

      – David Wilkins
      Dec 5 '13 at 18:41




      1




      1





      we can make one copy of Mage_Sales_Model_Order_Shipment_Api in local pool, and customize it.

      – John Yin
      Feb 19 '15 at 4:45





      we can make one copy of Mage_Sales_Model_Order_Shipment_Api in local pool, and customize it.

      – John Yin
      Feb 19 '15 at 4:45













      This is gold, exactly what I needed. Thank you.

      – dchayka
      Nov 13 '15 at 21:50





      This is gold, exactly what I needed. Thank you.

      – dchayka
      Nov 13 '15 at 21:50













      0














      That solution works for me, but be careful as another file extends the create() function. So you need to also comment the call to $shipment->sendEmail() in Sales/Order/Shipment/Api/V2.php






      share|improve this answer



























        0














        That solution works for me, but be careful as another file extends the create() function. So you need to also comment the call to $shipment->sendEmail() in Sales/Order/Shipment/Api/V2.php






        share|improve this answer

























          0












          0








          0







          That solution works for me, but be careful as another file extends the create() function. So you need to also comment the call to $shipment->sendEmail() in Sales/Order/Shipment/Api/V2.php






          share|improve this answer













          That solution works for me, but be careful as another file extends the create() function. So you need to also comment the call to $shipment->sendEmail() in Sales/Order/Shipment/Api/V2.php







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 12 '15 at 14:34









          Antho NyAntho Ny

          33113




          33113





















              0














              Another approach without editing/extending Magento core is to modify your API call to not send the shipping email in the first place when creating the order. Just send it after adding the tracking code:




              1. Call sales_order_shipment.create with $email = FALSE see Mage_Sales_Model_Order_Shipment_Api and Mage_Sales_Model_Order_Shipment_Api_V2



                public function create($orderIncrementId, $itemsQty = array(), $comment = null, $email = false, $includeComment = false)



              2. Add the tracking code by calling sales_order_shipment.addTrack



                public function addTrack($shipmentIncrementId, $carrier, $title, $trackNumber)



              3. Call the method sales_order_shipment.sendInfo to trigger the shipment email



                public function sendInfo($shipmentIncrementId, $comment = '')


              Thats are actually better than modifying Magento default behavior. Good luck






              share|improve this answer





























                0














                Another approach without editing/extending Magento core is to modify your API call to not send the shipping email in the first place when creating the order. Just send it after adding the tracking code:




                1. Call sales_order_shipment.create with $email = FALSE see Mage_Sales_Model_Order_Shipment_Api and Mage_Sales_Model_Order_Shipment_Api_V2



                  public function create($orderIncrementId, $itemsQty = array(), $comment = null, $email = false, $includeComment = false)



                2. Add the tracking code by calling sales_order_shipment.addTrack



                  public function addTrack($shipmentIncrementId, $carrier, $title, $trackNumber)



                3. Call the method sales_order_shipment.sendInfo to trigger the shipment email



                  public function sendInfo($shipmentIncrementId, $comment = '')


                Thats are actually better than modifying Magento default behavior. Good luck






                share|improve this answer



























                  0












                  0








                  0







                  Another approach without editing/extending Magento core is to modify your API call to not send the shipping email in the first place when creating the order. Just send it after adding the tracking code:




                  1. Call sales_order_shipment.create with $email = FALSE see Mage_Sales_Model_Order_Shipment_Api and Mage_Sales_Model_Order_Shipment_Api_V2



                    public function create($orderIncrementId, $itemsQty = array(), $comment = null, $email = false, $includeComment = false)



                  2. Add the tracking code by calling sales_order_shipment.addTrack



                    public function addTrack($shipmentIncrementId, $carrier, $title, $trackNumber)



                  3. Call the method sales_order_shipment.sendInfo to trigger the shipment email



                    public function sendInfo($shipmentIncrementId, $comment = '')


                  Thats are actually better than modifying Magento default behavior. Good luck






                  share|improve this answer















                  Another approach without editing/extending Magento core is to modify your API call to not send the shipping email in the first place when creating the order. Just send it after adding the tracking code:




                  1. Call sales_order_shipment.create with $email = FALSE see Mage_Sales_Model_Order_Shipment_Api and Mage_Sales_Model_Order_Shipment_Api_V2



                    public function create($orderIncrementId, $itemsQty = array(), $comment = null, $email = false, $includeComment = false)



                  2. Add the tracking code by calling sales_order_shipment.addTrack



                    public function addTrack($shipmentIncrementId, $carrier, $title, $trackNumber)



                  3. Call the method sales_order_shipment.sendInfo to trigger the shipment email



                    public function sendInfo($shipmentIncrementId, $comment = '')


                  Thats are actually better than modifying Magento default behavior. Good luck







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Apr 24 at 13:44









                  Tajveez Rehman

                  6710




                  6710










                  answered Nov 2 '17 at 7:02









                  StefanStefan

                  1,07111836




                  1,07111836



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Magento Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f4374%2forder-tracking-not-showing-up-in-shipment-email%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                      Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                      Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form