Post by DaveRiba » Sat Apr 17, 2021 12:12 am

When OpenCart 3.x processes an order, it spawns an email confirmation ---
You have received an order
etc etc

Which php module is controlling that process?

Thanks

Dave

Active Member

Posts

Joined
Wed Oct 07, 2020 11:41 pm

Post by OSWorX » Sat Apr 17, 2021 12:52 am

DaveRiba wrote:
Sat Apr 17, 2021 12:12 am
When OpenCart 3.x processes an order, it spawns an email confirmation ---
You have received an order
etc etc

Which php module is controlling that process?

Thanks

Dave
catalog/model/checkout/order(.php) > function addOrderHistory

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by straightlight » Sat Apr 17, 2021 1:12 am

DaveRiba wrote:
Sat Apr 17, 2021 12:12 am
When OpenCart 3.x processes an order, it spawns an email confirmation ---
You have received an order
etc etc

Which php module is controlling that process?

Thanks

Dave
catalog/controller/mail/order.php file launched by an Event from the database in the event table before or after the catalog/model/checkout/order/addOrderHistory is launched and when the event is active. Event statuses can be verified in your OC Admin > extensions > events page.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by DaveRiba » Sat Apr 17, 2021 1:35 am

Thanks for the help
Most appreciated

Dave

Active Member

Posts

Joined
Wed Oct 07, 2020 11:41 pm
Who is online

Users browsing this forum: No registered users and 257 guests