Magento – Custom fields in Contact US

contact-usmagento-1.9

I'm trying to add custom fields to default Contact Us form but they are not displaying at all. I have used this procedure:
1. Edit form.phtml (inside my theme) and I put this code after Telephone:

<li>
<label for="subject"><?php echo Mage::helper('contacts')->__('Subject') ?> <span class="required">*</span></label>
<div class="input-box"><input name="subject" id="subject" title="<?php echo Mage::helper('contacts')->__('Subject') ?>" value="" class="required-entry input-text" type="text"/>

2.Create a custom transactional email template where I load Contact Form and then I insert
Subject: {{var data.subject}}

3.Then in System > Configuration > General > Contacts I assign a Custom Contact Form template and Save.

Nothing happens, my contact form is still the same. Any hint?
Thanks

EDIT: Procedure described in this question is correct, I was changing wrong package file in app, so check allways with path hint if you are changing correct file.

Best Answer

Procedure described in this question is correct, I was changing wrong package file in app, so check allways with path hint if you are changing correct file. So suggestion made by Meenakshi Sundaram R is correct.

Related Topic