Post by twdre » Tue Feb 18, 2020 5:43 pm

Hi,
I used to get a exact copy of the order conformation email send to the customer in Version 2.2.0.0
Now I use Version 3.0.3.1 and only get the order details and not the customer details anymore as before .

What can I do so I get the complete order details again

Thank you for any suggestions

New member

Posts

Joined
Sat Mar 28, 2015 4:52 am

Post by letxobnav » Tue Feb 18, 2020 6:12 pm

in catalog/controller/mail/order.php
find

Code: Select all

		$mail->setTo($order_info['email']);
		$mail->setFrom($from);
		$mail->setSender(html_entity_decode($order_info['store_name'], ENT_QUOTES, 'UTF-8'));
		$mail->setSubject(html_entity_decode(sprintf($language->get('text_subject'), $order_info['store_name'], $order_info['order_id']), ENT_QUOTES, 'UTF-8'));
		$mail->setHtml($this->load->view('mail/order_add', $data));
		$mail->send();
add after

Code: Select all

		// send to store owner the exact mail send to customer
		$mail->setTo($this->config->get('config_email'));
		$mail->send();

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by twdre » Wed Feb 19, 2020 4:43 pm

Thank your for you reply,

Tried to place the extra lines but after placing them customer cant login anymore.
Journal 3 theme gives a pop up to login and as soon you want to put in your login details the login screen dissapears.

New member

Posts

Joined
Sat Mar 28, 2015 4:52 am
Who is online

Users browsing this forum: No registered users and 15 guests