Jump to content

custom administrator email module


Recommended Posts

Hello!

 I have to create a module, which adds a button on the product page, where a customer can make an inquiry about the product. When the button is clicked, a modal pops up where the customer inputs their credentials. The modal is already created.
What I need to do is: 

Send an email to the administrator with the customer credentials, product attributes and the product name (as a subject) on clicking the submit button in the modal.

I looked around and found the prestashop dev docs tutorial, but I do not really understand how the email template is created and used. Also I do not know how to trigger the sending of the email with my submit button.

Some guidance or link to more detailed resources would be appreciated.

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