I have been looking into some tutorials but none of them works, for example, first they told me to open xxx files and edit something but what I found on my files is just a class with no single method inside it.
Currently I have got register.phtml(/template/persistent/customer/form) to show the custom field named Website but I don't know how to get it working with all functions of the site.
My Magento version is 1.7.0.2
Please advice.
Best Answer
To use an attribute in the frontend you have to do two things.
tell magento that the attribute should be used and is allowed to be saved by the customer. There are lots of attributes you don't want to be saved by the customer, for example created_at, updated_at or any account balance should not be editable by the customer.
All the attributes are saved in the different forms via
Have a look on the form codes. They are important to change the attributes. there are a few, like
customer_account_edit
,customer_account_create
. Just check the code if the forms doesn't save your attribute, what is needed and how the form is named.Add the attribute
Make attribute usable in forms