Magento 2 Custom Contact Form

Magento 2 Custom Contact Form by Meetanshi offers to customize the default contact form to add various departments and manage departmental contact inquiries with ease.

 

Table of Content

  1. Extension Installation Guide
  2. Configuration
  3. Manage Contact Departments
  4. Custom Contact Form in Frontend
  5. Manage Contact Inquiries from Backend
  6. New Contact Inquiry Email to Admin

 

  1. Extension Installation
  • Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
  • Login to your SSH and run below commands step by step:
    • php bin/magento setup:upgrade
    • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
    • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
    • php bin/magento cache:flush
  • That’s it.
     
  1. Configuration
    To configure the extension, login to Magento 2, move to Stores > Configuration > Custom Contact Form from where you can enable the extension.
  • Custom Contact Form: Enable the Custom Contact Form extension from here.


 

  1.  Manage Contact Departments
    The extension allows adding as many departments as you have in your company. All the already added and saved departments get enlisted in a separate grid under Content > Custom Contact Form > Manage Contact Departments.


 

  • Add New Department
    On click of the “Add New Department” button, the admin can add a new department along with the associated Email IDs.
    • Name: Enter the name of the contact department.
    • Email ID: Enter comma-separated Email IDs associated with the department.
    • Status: Enable the department from here.


 

 

  1. Custom Contact Form in Frontend
    Once the required configurations are done, customers can see the contact form with the added departments from the backend. They can fill up the details, select the department to which they want to contact and submit the form.




 

  1. Manage Contact Inquiries from Backend
    Immediately after a customer submits the contact form, the inquiry details get saved in the backend in a separate grid under Content > Custom Contact Form > Manage Contact Inquiries. The admin can see contact name, Email ID, inquiry message and department to which the contact inquiry is sent.


 

  1. New Contact Inquiry Email to Admin
    Immediately after a customer submits the contact form, apart from saving it in the Magento 2 backend, the admin gets a new contact inquiry Email having contact form submission details.