guardiano Posted January 26, 2016 Share Posted January 26, 2016 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 More sharing options...
Knowband Plugins Posted February 1, 2016 Share Posted February 1, 2016 Quite difficult to help without looking into module code. You can check its main controller (php file with same name as module directory) search for functions with hook. Link to comment Share on other sites More sharing options...
guardiano Posted February 1, 2016 Author Share Posted February 1, 2016 the module that i want to modify is "mailalerts" Link to comment Share on other sites More sharing options...
guardiano Posted February 1, 2016 Author Share Posted February 1, 2016 if you could get the group id in this module (as for customer id) and attach another email for send order... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now