Page 1 of 1

{SOLVED] CheckOut -- confirmation email

Posted: Sat Apr 17, 2021 12:12 am
by DaveRiba
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

Re: CheckOut -- confirmation email

Posted: Sat Apr 17, 2021 12:52 am
by OSWorX
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

Re: CheckOut -- confirmation email

Posted: Sat Apr 17, 2021 1:12 am
by straightlight
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.

Re: CheckOut -- confirmation email

Posted: Sat Apr 17, 2021 1:35 am
by DaveRiba
Thanks for the help
Most appreciated

Dave