babyewok Posted October 12, 2010 Share Posted October 12, 2010 I would like to add the delivery time next to the carrier on the order confirmation email - how do I do this? Link to comment Share on other sites More sharing options...
rocky Posted October 12, 2010 Share Posted October 12, 2010 Try adding the following to the $data array on line 324 of classes/PaymentModule.php (in PrestaShop v1.3.2): '{delivery_time}' => $carrier->delay[intval($order->id_lang)], Then use {delivery_time} in the order_conf.html and order_conf.txt mail templates. Link to comment Share on other sites More sharing options...
babyewok Posted October 12, 2010 Author Share Posted October 12, 2010 My email said "Array" instead of the "7 days"! Link to comment Share on other sites More sharing options...
rocky Posted October 12, 2010 Share Posted October 12, 2010 Oops, I forgot about that. I've updated my code above. Try again. Link to comment Share on other sites More sharing options...
babyewok Posted October 13, 2010 Author Share Posted October 13, 2010 Lovely jubbly - thanks as always Rocky! Link to comment Share on other sites More sharing options...
uddhava Posted November 18, 2010 Share Posted November 18, 2010 Rocky: it could be me, but i cannot find a class called ´Payment`. Link to comment Share on other sites More sharing options...
rocky Posted November 18, 2010 Share Posted November 18, 2010 Oops, was meant to be PaymentModule.php. I've updated my post. Link to comment Share on other sites More sharing options...
uddhava Posted November 19, 2010 Share Posted November 19, 2010 great !!!Suppose i would like to have links for every product in the confirmation email that was sent. Would it be done also in this class? Link to comment Share on other sites More sharing options...
DRMasterChief Posted April 27, 2018 Share Posted April 27, 2018 (edited) Hello, i would like to add the delivery time next to each product on the order_conf email - how do I do this? It is necessary by law to give this information near each product, so hopefully you can help me with this. I use PS 1.6.1.18 and have described more details, we can go on with this problem here: https://www.prestashop.com/forums/topic/406929-adding-custom-information-in-mail-alerts-to-customer-on-order-confirmation/ Thank you! Edited April 29, 2018 by DRMasterChief (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