jeanrl Posted May 30, 2020 Share Posted May 30, 2020 Hello! I need to trigger a notification for a url every time a sale happens, what is the way? I was not able to understand the documentation properly, if you can give me the way indicating the documentation or how to do it I am very grateful. Link to comment Share on other sites More sharing options...
idnovate.com Posted May 30, 2020 Share Posted May 30, 2020 Check free module "Mail alerts". You will receive an email in every sale. Link to comment Share on other sites More sharing options...
jeanrl Posted May 30, 2020 Author Share Posted May 30, 2020 Many thanks for the reply. In reality, e-mail does not solve my problem, because the idea is a notification (a function) so that when I enter an order, update my ERP and control my stock, then I need a way to write a function that when a payment / sale this function is triggered. Link to comment Share on other sites More sharing options...
idnovate.com Posted May 31, 2020 Share Posted May 31, 2020 I understood you wrong. Create a module and use hook hookNewOrder() Link to comment Share on other sites More sharing options...
jeanrl Posted May 31, 2020 Author Share Posted May 31, 2020 Okay, is there a link to a tutorial on how to do it? Thank you. Link to comment Share on other sites More sharing options...
idnovate.com Posted June 1, 2020 Share Posted June 1, 2020 17 hours ago, jeanrl said: Okay, is there a link to a tutorial on how to do it? Thank you. Exactly what, how to do a module? Link to comment Share on other sites More sharing options...
jeanrl Posted June 1, 2020 Author Share Posted June 1, 2020 Exactly, like making a module, I'm a developer, but new to Prestashop so I don't know the correct paths, so I need a tutorial or something. Again I thank you for your attention and patience. Hugs. Link to comment Share on other sites More sharing options...
idnovate.com Posted June 2, 2020 Share Posted June 2, 2020 You can start with this https://validator.prestashop.com/generator Link to comment Share on other sites More sharing options...
jeanrl Posted June 2, 2020 Author Share Posted June 2, 2020 Thank you. 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