Mani rathnam Posted February 11, 2015 Share Posted February 11, 2015 (edited) Hi all, My client is using PS 1.5.3.1. Requirement is to add the tracker number in the mail. i have tried the solution from the below topic. But it is not working. https://www.prestashop.com/forums/topic/148270-solved-add-tracking-number-to-email-template/page-3 Can anyone please help me on this? Thanks in Advance. Manirathnam S Edited February 16, 2015 by manirathnam1988 (see edit history) Link to comment Share on other sites More sharing options...
Mani rathnam Posted February 16, 2015 Author Share Posted February 16, 2015 Any solutions for this???? I am trying all the way. not getting anything.. Please help me on this. Client need this in asap. Thanks in Advance. Mani Link to comment Share on other sites More sharing options...
bellini13 Posted February 16, 2015 Share Posted February 16, 2015 are you trying to add the tracking number? or are you try to add a tracking URL? What version of Prestashop are you using? Link to comment Share on other sites More sharing options...
Mani rathnam Posted February 16, 2015 Author Share Posted February 16, 2015 Hi Bellini13, My client is using PrestaShop™ 1.5.3.1 I want to add the tracking number in the mail not the URL. URL is already available in the mails. Production site is "http://www.thecraftshop.in/" i did the changes as below. public_html/controllers/admin/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(), '{tracking_number}' => Tools::getValue('tracking_number') In the below template, Localizations -> Translations -> in_transit.html Used the variable -> {tracking_number} Thanks in Advance, Mani Link to comment Share on other sites More sharing options...
jiro Posted February 16, 2015 Share Posted February 16, 2015 Add something like this (AdminOrdersController.php): '{tracking_number}' => $order->shipping_number 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