Jump to content

Email Notification Of New Order


Recommended Posts

Hello,

I need to make a small change to the module "Mail notification".
In my prestashop 1.5.6 I configured the module "Mail notification" so that when an order comes in I will receive a notification of the order by the customer.
It works fine.
But now we need that if the order is made by a user who belongs to a specific customer group, the email notification must also be sent to another email address.
Essentially the email must send two emails. One that I set in the "Mail notification" and another email to another email address that would specify the php module.
The simplest thing in my opinion, is to get the group id customers to which the customer who purchased belongs.
Then if the customer id belongs to that specific group I send an identical email also to another email address.


Unfortunately I do not know how.
Do you have any idea about? in which files I have to intervene for example?

Thank you.

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...