Magento - Setup Contact


Advertisements


Magento has built-in contact form which can be used for general contacts and can be found in the footer part of your Magento installation.

Following are the steps to create contact form in Magento −

Step (1) − Login to your Magento Admin Panel.

Step (2) − Go to CMS menu and click on the Pages option.

Magento Setup

Step (3) − Select the page which you would like to edit or else you can create the new page by clicking on Add New Page button.

Magento Setup

Step (4) − Click on the Content option on the left side of page which will open the WYSIWYG editor and click on the HTML option that display HTML Source Editor window and paste the below code.

<!- CONTACT FORM- >
{{block type = "core/template" name = "contactForm" form_action = "/contacts/index/post" template = "contacts/form.phtml"}}
<!- END OF CONTACT FORM- >

Step (5) − Click on Save Page button and preview the created page to see the contact form.

Magento Setup

Advertisements