Jump to content

[SOLVED] Can a tracking number be added to an mailalerts?


Recommended Posts

I am using the version 1.2.5.

A tracking number is not displayed although URL {followup} is in Package in transit (in_transit.html).
I want to insert a tracking number in the mail alert (in_transit.html) to a customer.
Which portion should be edited?
Please advise.

Thanks.

Link to comment
Share on other sites

  • 1 month later...

Nevermind, I figured it out on my own.

Ok, here we go:

1. Go to your admin folder --> tabs -->and look for: 'AdminOrders.php'

2. Find the line containing the following code (for me it is line 83):

 '{followup}' => str_replace('@', $order->shipping_number, $carrier->url),



3. Add a new line of code below that line:

 '{shipping_number}' => $order->shipping_number,



4. Save the AdminOrders.php file

5. Go to the mails folder and open in_transit.html

6. Add somewhere in the file:

Your tracking number is: {shipping_number}



7. Save the in_transit.html file!

Voila, your tracking numbers are now sent in the emails when you enter the tracking number in the backend!

Tested it and it is working 100%.

You're welcome.

Link to comment
Share on other sites

  • 2 weeks later...

Hi,
I can only "set shipping number" once selected "shipped"

By then the 1st email "shipped" has been sent without the number, then if you selected "shipped" again, you can then enter the "set shipping number"


How is it possible to alow the "set shipping number" when "payment accepted" ?


Followed on over at
http://www.prestashop.com/forums/viewthread/43706/configuring___using_prestashop/entering_tracking_number_before_selecting_shipping

Link to comment
Share on other sites

  • 1 month later...

i have a problem that the tracking number is on the end of carrier website, when click the link it shows

Sorry! We could not find the page.

here is the content , any boy know how to solve this problem?

Your order is currently in transit. Your tracking number is: em2348902834

You can track your package by clicking on the following link: http://app3.hongkongpost.com/CGI/mt/enquiry.jspem2348902834

Link to comment
Share on other sites

×
×
  • Create New...