cancel
Showing results for 
Search instead for 
Did you mean: 

Save data from "Contact Us" form to db and show it via grid at admin panel.

Save data from "Contact Us" form to db and show it via grid at admin panel.

Hi, Magento devs.

 

I need to save data from "Contact Us' form to DB and show it at admin panel via grid.

What is the best way to do it and maybe someone has something close to it?

 

Thank you in advance.

2 REPLIES

Re: Save data from "Contact Us" form to db and show it via grid at admin panel.

If I were you I would create new Magento 2 module with logic for saving Contact US forms and sending email to a user and showing saved data in the contact us grid in Magento Admin.

 

 

I think this is a way to go. With current Magento Contact module you will end up customising lots of classes and trying to nicely extend it. But in reality you will end up creating own module.

Re: Save data from "Contact Us" form to db and show it via grid at admin panel.

Thank you for advice. Maybe you can show me some example?