Постови

Приказују се постови за децембар, 2017

Opencart 3 Detailed Admin Order Notification Email

Слика
Default Opencart 3 admin order email contain minimum information about new order, there is no customer name, address, phone, email...  I dont know why is detailed order email for admin - default function in Opencart 2  removed from Opencart 3 . Send customer order copy to admin email in Opencart 3 is pretty easy. You just need to edit 2 files : catalog/controller/mail/ order.php and catalog/view/theme/yourtheme/template/mail/ order_alert.twig Backup your website first! 1. Somewhere about 276 line, after $mail->setTo($order_info['email']); ...some code.... $mail->send(); and before "}" So it look like this: $mail->setTo($order_info['email']); ...some code.... $mail->send(); //Detailed order email admin >>> $mail->setTo($this->config->get('config_email')); $mail->setFrom($from); $mail->setSender(html_entity_decode($order_info['store_name'], ENT_QUOTES, 'UTF-8'));