Jump to content

<Solved> Activate Order Confirmation


ROUGHY

Recommended Posts

Hi all (and Rocky ;-)!
Where do I activate the order confirmation-email? If a deactivate "Preparation in progress" in the status-menu, then sometimes the order confirmation email is missing, sometimes not. I think, it's no possible to activate this email in the order statuses-menu, is it?

Link to comment
Share on other sites

No, it is not possible to change whether the order confirmation email is sent from the Orders > Statuses tab. It is hardcoded on line 359 of classes/PaymentModule.php:

if ($orderStatus->send_email AND Validate::isEmail($customer->email))



It depends on the order status that is automatically changed to after the order is completed. If you have "Send e-mail to customer when order is changed to this status" ticked for that status, then the order confirmation email will be sent along with that order status's email. If it isn't ticked, neither email will be sent. If you want the order confirmation email to always be sent, then change the line above to:

if (/*$orderStatus->send_email AND */Validate::isEmail($customer->email))

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...