Jump to content

Using "order_conf" email template for other Order Statuses


Recommended Posts

Hi guys, I'm on v 1.5.4 and I've been wondering how I can hack the Mail.php class to enable it to include the various variables included in the "order_conf" email template such as {products}, {total_paid}, {carrier}, etc.

 

Its basically the email that gets sent out when a customer makes and order from the front office, and they receive this email with the order summary along with the PDF invoice attached.

 

The thing is, I have disabled this automation from the PaymentModule.php, and would like to add it to one of the "Order Statuses" instead, such as "Order Processed" or "Preparation". However, by default the system doesn't capture the order variables, and I have tried finding workable hacks to attach the PDF invoice too, but to no avail.

 

Really hope to be able to get some help on this. Thanks! :D

Link to comment
Share on other sites

×
×
  • Create New...