Sunday 8 April 2012

How To Create Magento Contact Us Form


A contact us form is available by default in Magento. You can add contact form on any page for your Magento online store. All you need to do is:

1.     Login to the administrator area.
2.     Then go to CMS -> Pages.
3.     Select the page you want to edit or start creating a new page.
4.     Once you are ready paste the following code using the HTML option for the WYSIWYG editor:

<!– CONTACT FORM CODE START–>

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

<!– CONTACT FORM CODE END–>

That is all. The contact form will now appear on the desired page.


Reference from: http://kb.siteground.com 

No comments:

Post a Comment