thezey Posted July 23, 2015 Share Posted July 23, 2015 Hello, I'd like to let my customers know the delivery timeframe in the email they automatically receive when I change the status to Shipped under Orders>Orders with Prestashop 1.5.4.0. For example, I need the emails to say: "The expected delivery timeframe is FROM JULY 25 to JULY 30…". Having said that the delivery timeframe is mentioned on the checkout page, as I use the Date of Delivery module. So far, I have added two variables to the AdminOrdersController.php file as followed: '{order_products}' => Db::getInstance()->getValue('SELECT GROUP_CONCAT(" ", `product_name`) AS product_name FROM `'._DB_PREFIX_.'order_detail` WHERE `id_order` = '.(int)$this->id_order), '{order_delivery_date}' => $result['delivery_date'] ); I was actually wondering if the added variable is correct. Also, am I editing the right php file? Could you please tell me if I'm heading to the right direction? Thank you Link to comment Share on other sites More sharing options...
thezey Posted July 24, 2015 Author Share Posted July 24, 2015 Any skillful member to tell whether it's the correct code? Link to comment Share on other sites More sharing options...
thezey Posted August 18, 2015 Author Share Posted August 18, 2015 up Link to comment Share on other sites More sharing options...
thezey Posted August 20, 2015 Author Share Posted August 20, 2015 I'm sure there's someone in the forum who could help me with the email variable. Please let me know. Thank you Link to comment Share on other sites More sharing options...
thezey Posted August 21, 2015 Author Share Posted August 21, 2015 It appears it doesn't work. What did I do wrong? 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