Hi!
I've made a custom template for the order confirmation e-mails.
I also want to use this template for the new customer and order update e-mails. Has anybody experience to get this fixed?
I already tried to add the template in the model files but didn't get it worked yet.
Who knows what to do?
Many thanks.
- Weiqun
Seemengly, you have NOT made a Custom Template according OC MVC-Programming-Standards. Therefore, it produces an error, informing you, that you have NOT, or not correctly, defined/declared the order_info Variable in the corresponding controller File.
Ernie
Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
I did it like this in the admin/model/sale/order.php file, just like in the catalog/model/sale/order.php file.
The error is produced by this variable, still have to edit the controller file for it.
beside this i'm not getting any other errors.
<?php echo $text_date_added; ?> and $template->data['date_added'] = date($language->get('date_format_long'), strtotime($order_info['date_added']));
The error is produced by this variable, still have to edit the controller file for it.
beside this i'm not getting any other errors.
<?php echo $text_date_added; ?> and $template->data['date_added'] = date($language->get('date_format_long'), strtotime($order_info['date_added']));
Last edited by Weiqunw on Mon Aug 24, 2015 8:04 pm, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 13 guests