Post by AdrianGerhardt60 » Mon Jun 24, 2024 5:57 pm

Hello OpenCarters,

can you please help me to understand a post here in forum about the order email alert to the admin,
please see viewtopic.php?t=228702

I want to expand the order alert email send to the admin by some informations: customer name, customer surname and customer email.
I have made the changes explained by BHickman step 1 to 3. The email arrives, the text for the Customer name, surname are in the email available, but the "values" for this information are not available.
I cannot understand exactly Step 4 and the comments made by "sw!tch".
My messages to HBrickman and sw!tch remained unanswered.

I suppose that the comments made by the "sw!tch" are here essential to insert the desired data, but i can't understand this comments, please see the attached file.

Can somebody explain what I need to do here? What must I do here exactly?
I'm not a programmer, but I can successfully edit files following an understandable explanation.

Than you.

Regards, Adrian

Attachments

opencart_admin_email_1.jpg

opencart_admin_email_1.jpg (25.09 KiB) Viewed 1005 times

opencart_admin_email_1.jpg

opencart_admin_email_1.jpg (25.09 KiB) Viewed 1005 times



Posts

Joined
Thu May 06, 2021 12:59 am

Post by ADD Creative » Mon Jun 24, 2024 6:11 pm

In the catalog\controller\mail\order.php, after "$order_info = $this->model_checkout_order->getOrder($order_id);" around line 359, have you added "$data['telephone'] = $order_info['telephone'];", etc.?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by AdrianGerhardt60 » Tue Jul 02, 2024 2:55 am

Hello ADD Creative, thank you very much for your Help.

Yes, that was the problem, now it works OK.

Thank you again and many regards to UK!

Adrian


Posts

Joined
Thu May 06, 2021 12:59 am

Post by paulfeakins » Tue Jul 02, 2024 7:16 pm

AdrianGerhardt60 wrote:
Tue Jul 02, 2024 2:55 am
Yes, that was the problem, now it works OK.
Great! No please add [SOLVED] to the start of this post title.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: jog2le and 18 guests