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 أعضاء وجدوا هذه المقالة مفيدة
هل كانت المقالة مفيدة ؟

مقالات مشابهة

Magento Best Practices

Magento can be very tricky.  And sometimes, it is getting quite confusing on how to properly...

How to Show or hide out of stock products in Magento

The process is fairly straight forwardShow out of stock products in Magento   Login to the...

SCRIPT_NAME & SCRIPT_FILENAME errors with cron

CRON ErrorsYou may encounter those errors in your log while inspecting those:[23-Oct-2016...

How to add and edit email templates in Magento

To edit and add templates used for transactional email messages, log in to the admin panel of...

How to add and edit polls in Magento

Adding and editing polls in Magento is easy. You can do that from the admin panel. Go to...