Lakshmanan PHP Posted February 10, 2015 Share Posted February 10, 2015 My prestashop version is 1.6.0.9 Engilsh is the default value I want to add a custom information (delivery time) in order confirmation email I've tried : /base_dir/module/mailalerts/mailalerts.php added extra element {my_delivery_time} in $template_vars then added the same in /base_dir/mails/en/order_conf.html I got the raw text {my_delivery_time} printed in email, but the value is not shown in output Link to comment Share on other sites More sharing options...
DRMasterChief Posted April 27, 2018 Share Posted April 27, 2018 Hi Guys, ....and still no solution for this? We also need to include the delivery time for each item in order_conf for customer. Thank you for any hint! Link to comment Share on other sites More sharing options...
ventura Posted April 29, 2018 Share Posted April 29, 2018 Miss the instance to access the variable Link to comment Share on other sites More sharing options...
DRMasterChief Posted April 29, 2018 Share Posted April 29, 2018 Hello ventura , thank you for your answer, but at the moment it did not help for me. Maybe i have to explain a little more: In the order_conf mail which is sent to the customer, there is no “delivery time” given near each item. It is necessary by law to give the delivery time for each item in this e-mail to the customer, so we have to find a solution to include this in the email. The delivery time has to be the same as given in the shop for each item near the price. I am not sure if this problem came from the core of Prestashop, or theme or module “advancedeucompliance” (which we have to use here in EU) or from all of them when they are working together. I think -usually- the delivery time should appear in the order_conf mail, but it doesnt? Or is this not supported by Prestashop shopsystem by default? Do you know where we can have a look at or what to change ? To get this from product site, it should be someting like this: <span class="label label-success" id="availability_value">2-3 days</span> or to get it from cart, it should be something like this: <td class="cart_avail"><span class="label label-success">2-3 days</span></td> But i need more help how to define this. I think i am able to add it in the email-template, but i am not a programmer and need help with the steps before. (attached a picture how it should look, not a picture from our shop, only for example) thank you Link to comment Share on other sites More sharing options...
DRMasterChief Posted December 7, 2018 Share Posted December 7, 2018 (edited) Hello, have to ask for this again. Is there a solution in the meantime? I really hope so We need the 'delivery time' for each product in the email confirmation which is sent to the customer. PS version 1.6.1x (not 1.7) Thank you!! Edited December 7, 2018 by DRMasterChief (see edit history) Link to comment Share on other sites More sharing options...
presto1.7.4 Posted December 7, 2018 Share Posted December 7, 2018 why not upgrading to 1.7.X ? Link to comment Share on other sites More sharing options...
DRMasterChief Posted December 8, 2018 Share Posted December 8, 2018 Upgrading to 1.7.x is no option. There are too many bugs and unsolvable problems with this version when you have to use it in Germany. Can we please find a solution for this need and 1.6.x version ?! 😎 thank you Link to comment Share on other sites More sharing options...
Gertjezzz Posted October 19, 2021 Share Posted October 19, 2021 Hello, I face the same problem. I am using 1.7.7.7 but in the order confirmation email there isnt any delivery time (estimated) shown. Therefore i made the same changes in my PaymentModule.php and my email template. It now only shows the RAW {delivery_delay} and not the actual value. pls help. 1 Link to comment Share on other sites More sharing options...
Tim Vandendriessche Posted December 10, 2021 Share Posted December 10, 2021 Still the same problem in version 1.7.8.1 right now 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