moody Posted May 31, 2013 Share Posted May 31, 2013 Hello so i created a carrier (USPS), uploaded a logo, and I put in the URL www.usps.com. I chose the zone that I will ship to etc.. the USPS carrier shows in the cart during checkout and everything works perfect. when I opened an order and provided a tracking number, the customer received an email with a missing link and tracking number! You can track your package using the following link: this line is empty You can review your order and download your invoice any ideas please? thank you Link to comment Share on other sites More sharing options...
bellini13 Posted May 31, 2013 Share Posted May 31, 2013 what version of Prestashop are you using? have you looked at the email template to confirm that the template has a link? Link to comment Share on other sites More sharing options...
moody Posted May 31, 2013 Author Share Posted May 31, 2013 I have PrestaShop™ 1.5.4.1 I don't know where to find the email template. can you please tell me? thank you Link to comment Share on other sites More sharing options...
bellini13 Posted June 1, 2013 Share Posted June 1, 2013 either use an FTP client and look in the /mails folder or use the back office translations function to review the email translation Link to comment Share on other sites More sharing options...
moody Posted June 1, 2013 Author Share Posted June 1, 2013 so I found this email template Hi {firstname} {lastname}, Thank you for shopping with {shop_name}! Your order with the reference {order_name} is currently in transit. You can track your package using the following link: {followup} You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. If you have guest account, you can follow your order using this link: {guest_tracking_url} {shop_name} - {shop_url} {shop_url} powered by PrestaShop™ I am not sure what to do next. Kindly note that the email that the customer received does NOT contain any link or tracking number. in the template above, where does the variable {followup} come from? thank you so much Link to comment Share on other sites More sharing options...
moody Posted June 5, 2013 Author Share Posted June 5, 2013 Hello everyone may you kindly help me with this I really appreciate your time and your efforts Link to comment Share on other sites More sharing options...
Luca S. Posted July 29, 2013 Share Posted July 29, 2013 i'm getting the same error.. how to fix the bug? Link to comment Share on other sites More sharing options...
theboina Posted August 15, 2013 Share Posted August 15, 2013 I have the same problem: this is my AdminOrdersController.php $templateVars = array( '{followup}' => str_replace('@', $order->shipping_number, $carrier->url), '{firstname}' => $customer->firstname, '{lastname}' => $customer->lastname, '{id_order}' => $order->id, '{order_name}' => $order->getUniqReference() ); if (@Mail::Send((int)$order->id_lang, 'in_transit', Mail::l('Package in transit', (int)$order->id_lang), $templateVars, $customer->email, $customer->firstname.' '.$customer->lastname, null, null, null, null, _PS_MAIL_DIR_, true, (int)$order->id_shop)) { Hook::exec('actionAdminOrdersTrackingNumberUpdate', array('order' => $order)); Tools::redirectAdmin(self::$currentIndex.'&id_order='.$order->id.'&vieworder&conf=4&token='.$this->token); } Link to comment Share on other sites More sharing options...
Mikie Posted October 15, 2014 Share Posted October 15, 2014 (edited) Hi, please check if in your carrier (in BO) you have put the tracking url. At the end of the url or in the place of the tracking number you have to add @ For example (this is for UPS): http://wwwapps.ups.com/etracking/tracking.cgi?track.x=0&track.y=0&InquiryNumber1=@ Edited October 15, 2014 by Mikie (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now