Hello everybody!
For the past 3 days i 've been having the following issue.
I receive an order eg #2190 containing product X. In my webmail however, I receive two notification emails with the same order number (2190). One email contains product X (same as in the system) and the other contains product Y. Problem is that the notification email doesn't contain customer contact details, therefore I cannot figure out who the "lost" order is coming from.
OC 3.0.2.0 with Journal theme
Any insights highly appreciated!
Daphne
In catalog/controller/mail/order.php file,
find:
replace with:
Then, in catalog/language/<your_language>/mail/order_alert.php file,
replace:
with:
These infos should now appear in the email's subject line upon notifications.
find:
Code: Select all
$mail->setSubject(html_entity_decode(sprintf($this->language->get('text_subject'), $this->config->get('config_name'), $order_info['order_id']), ENT_QUOTES, 'UTF-8'));
Code: Select all
$mail->setSubject(html_entity_decode(sprintf($this->language->get('text_subject'), $this->config->get('config_name'), $order_info['order_id'], $order_info['firstname'], $order_info['lastname'], $order_info['telephone']), ENT_QUOTES, 'UTF-8'));
replace:
Code: Select all
$_['text_subject'] = '%s - Order %s';
Code: Select all
$_['text_subject'] = '%s - Order %s - Customer name: %s %s - Telephone: %s';
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 35 guests