seb776 Posted May 20, 2011 Share Posted May 20, 2011 Hi,I'd like to add a field to an email send when command get shipped.I have to add a tag {delivery_number}in the appropriate email template, no prob, but where should i assign the value ? Merci.Same question as http://www.prestashop.com/forums/viewthread/110193/ Link to comment Share on other sites More sharing options...
seb776 Posted May 23, 2011 Author Share Posted May 23, 2011 That's it.Thank you. if ($history->id_order_state == _PS_OS_SHIPPING_ AND $order->shipping_number) $templateVars = array('{followup}' => str_replace('@', $order->shipping_number, $carrier->url) , '{delivery_number}' => $order->delivery_number); Link to comment Share on other sites More sharing options...
Jovicyr Posted November 22, 2013 Share Posted November 22, 2013 Hi, Which file do I have to modify to insert this ligne? Thx 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