Edit/Remove Contact Us page in Magento

Article ID #1213
Revision: 1.3Last update: 2012-01-05

Link to Contact Us page

By default, link to Contact Us page is added into footer menu:

Removing Contact Us page and link to the page

To remove the Contact Us link and Contact Us module functionality please navigate to System > Configuration > Contacts > Contact Us page, set Enable Contact Us option to No and click on Save Config button:

Editing content of Contact Us page

To edit content of Contact Us page you need to edit corresponding .phtml template file. By default, it should be in app/design/frontend/<your_theme_package>/<your_theme_name>/template/contacts/form.phtml file, where <your_theme_package> and <your_theme_name> should be replaced according to your theme. If such file does not exist in your theme, it can be copied from default location:app/design/frontend/base/default/template/contacts/form.phtml

Adding new fields to Contact Us page

In the example below we add a new text input field labeled Test in Grayscale theme.

app/design/frontend/default/grayscale/template/contacts/form.phtml file does not exists by default in Grayscale theme, so we copy it from app/design/frontend/base/default/template/contacts/form.phtml

we would like to add new input field right below Telephone number input field, so the template file is adjusted accordingly with adding new lines right after Telephone field: