Hezmars Posted February 20, 2014 Share Posted February 20, 2014 I read all post regarding this question, but cannot find solutio. The thing is that I have disabled in-transit auto emails and added {shipping_number} and {followup} variables in email template "Shipped", but only {shipping_number} doesn't show any number. What can be the problem ? I am attaching sample to make it more clear error.bmp Link to comment Share on other sites More sharing options...
Hezmars Posted March 2, 2014 Author Share Posted March 2, 2014 Any ideas? 1 Link to comment Share on other sites More sharing options...
moy2010 Posted April 24, 2014 Share Posted April 24, 2014 I'm facing the same issue, and so far it seems to affect only to prestashop 1.5.6.2 :S. Link to comment Share on other sites More sharing options...
Hezmars Posted April 24, 2014 Author Share Posted April 24, 2014 Is there any Prestashop genius who can solve this simple problem? 1 Link to comment Share on other sites More sharing options...
moy2010 Posted April 25, 2014 Share Posted April 25, 2014 Finally got it: You have to change the following codeline located in the file /controllers/admin/AdminOrdersController.php: if ($history->id_order_state == Configuration::get('PS_OS_SHIPPING') && $order->shipping_number)$templateVars = array('{followup}' => str_replace('@', $order->shipping_number, $carrier->url)); To this: if ($history->id_order_state == Configuration::get('PS_OS_SHIPPING') && $order->shipping_number)$templateVars = array('{followup}' => str_replace('@', $order->shipping_number, $carrier->url), '{shipping_number}' => $order->shipping_number); Thanks a lot to the user tebdilikiyafet that posted it. 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