Jump to content

<Solved> Activate Order Confirmation


ROUGHY
 Share

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?

Share this post


Link to post
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))

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More