Home > Magento, php, Php programming > [Magento] Add Contact Us form in any page

[Magento] Add Contact Us form in any page

Hi Friends,

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.

Advertisements
  1. August 24, 2013 at 1:50 pm

    Excellent beat ! I wish to apprentice whilst you amend your website, how could i subscribe
    for a weblog web site? The account aided me a acceptable deal.
    I were a little bit familiar of this your broadcast
    offered vivid transparent idea

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: