How to add a Contact Us form to a page in Magento

Magento has a default Contact Us page usually located in the footer of the store. This page contains a contact form through which your customers can send questions and comments about your store and services. But what if you want to add the Contact Us form to another page?

Fortunately, adding a new Contact Us form to a new or existing page in Magento is quite easy. To do it, log in to your Magento admin panel and go to CMS > Pages.

If you want to add the form to an existing page, click on the page to start editing it.

If you want to add the form to a new page, click Add New Page to create a new CMS page.

To add the Contact Us form, click on the Content option in the left menu of the page. Add your content and at the place where you want the contact form to appear paste this line:

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

Then save the changes by clicking Save Page and go to your store's frontend to see the page with the contact form on it.

  • 0 משתמשים שמצאו מאמר זה מועיל
?האם התשובה שקיבלתם הייתה מועילה

מאמרים קשורים

How to disable guest checkout

By default guests can shop without creating a customer account on your eCommerce. You can...

Magento Version

You may want to know wich version of Magento that you are running.  An easy way to do it is from...

How to add and edit attribute sets in Magento

Each product that you add in Magento can be configured thanks to a set of attributes. These are...

Numeric value out of range: 1690 BIGINT UNSIGNED

Description Recently when making some cleanup on a Magento based store that was having over 550K...

How to add and edit static pages in Magento

To add and edit CMS static pages, log in to the admin panel of your Magento store and go to...