Manage Magento Store - How to add a contact form to a page in Magento


How to add a contact form to a page in Magento

Magento 2 is awesome, now you can learn and practice every thing about Magento 2 with

Magestore Ultimate Magento 2 Tutorial

More than 150 tips, guides and tutorial. Everything is Free forever.

50 000 Magento developers have joined, explore Magento 2 in the easiest way today!

Magento provides a Contact form in Contact Us page for your online store. However, if you want to add this Contact Form to another page, you only need to do some steps.

Step 1: Login to your Magento Admin Panel, go to CMS -> Pages

How to add contact form to a page in magento - Step 1

Step 2: Choose the page that you want to add contact form to. If you want to create a new page, you should follow the tutorial: How to add new static page in Magento. After that, in Content tab, you can add the below code at the place where you want the contact form to appear:

{{block type='core/template' name='contactForm' template='contacts/form.phtml'}} 

How to add contact form to a page in magento - Step 2

Finally, click Save Page button.



Other Answers in the Category "Manage Magento Store"

 
Top