Wednesday, 11 July 2012

Add a contact form to a Magento CMS page

Of all Magento tips, this one solve a very frequent problem. Your clients will want to get a contact form to which they can add bits of text, they’ll also want to have the breadcrumb menu shown for that contact page. Out of the box, the Magento contact form doesn’t allo this, to do it you just have to follow this procedure.
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

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

2 comments:

  1. Your blog is very informative. It is very interesting and i have enjoyed reading it. Thank you for sharing your ideas. I’m happy i found what i am searching for.

    Megento Commerce

    ReplyDelete
  2. Its great Article!!! I have a getting the some good massage in your post, Thank you for sharing your great information...Keep do this kind off articles.

    Top Website Development Companies Bangalore | Professional Web Development Companies Bangalore | Best Web Designing Company Bangalore

    ReplyDelete

Note: only a member of this blog may post a comment.