Gaurav Porwal
Gaurav Porwal

Reputation: 11

How to add a custom attribute in customer account in Magento 1.6.2

I want to add custom attribute in Customer account tab in Admin Panel. I am using magento 1.6.2. I have read many blogs but could not able to acheive it as the file Mage/Customer/Model/Entity/Setup.php is different in CE 1.6.2 and CE < 1.6.0. So could not able to find the correct answer. If anyone has done it Kindly help me to achieve it. Thanks

Upvotes: 1

Views: 5765

Answers (2)

Sankar Subburaj
Sankar Subburaj

Reputation: 5042

There is no major change in add customer fields between CE1.5 & CE1.6 in magento.

The main change in user phtml file location. Check the below link, It will helps you.

How to create new fields for customer

Upvotes: 0

Seth Malaki
Seth Malaki

Reputation: 4486

Use this to create a module that does that:

http://silksoftware.com/magento-module-creator/

Then go to the 'Need add Customer Attribute section'. It's pretty self-explanatory.

Play with it! it's a VERY useful tool. You can see that there is more to it than making a module that provides new customer attributes. Also read up on clearing caches / compilation before installing new modules.

Upvotes: 7

Related Questions