Monday, January 18, 2010

Contact Form in Magento

There are cases when you would like to give your client an option to edit some intro text, edit his phone numbers, edit text behind the form, etc. You are probably guessing that it would be nice to be able to embed contact form in some CMS page. No problem.

  • Go to your CMS> Manage Pages interface
  • Once there, input your HTML as you normally would on any other page
  • Once you are happy with HTML part, add this lines:

    {{block type="core/template" name="contactForm" template="contacts/form.phtml"}}
Note: While writing above code please make sure that you are in the source view of Editor.

Click Here to know more.

0 comments:

Post a Comment