[Magento] Add Contact Us form in any page

Share

Magento provide contact us form functionality by default. You can find a contact form link in the footer of your Magento website. However you can add this contact form in any Magento web page that you want to.

To add contact form in Magento CMS page,

1) Log in to Magento admin panel
2) Select CMS > Pages
3) Create or Edit page for adding contact form
4) Paste the following HTML code in WYSIWYG editor:
<!–– CONTACT FORM CODE BEGIN––>
{{block type=’core/template’ name=’contactForm’ template=’contacts/form.phtml’}}
<!–– CONTACT FORM CODE END––>
5) Save the changes
6) You are Done.

Leave a Reply

You must be logged in to post a comment.