I searched a lot to remove required fields like first name, Last name and confirm password
fields in account create page.
So far i renamed required value from 1 to 0
from the table eav_attribute
After this i hided first name, Last Name, Confirm Password
from register.phtml
But still i'm getting
The first name cannot be empty, The Last name cannot be empty, etc,..
Did any one know how to do this ?
Please give me a idea to solve this..
Best Answer
You have to change two more files:
Change /js/prototype/validation.js and comment out the following lines:
After that, you also have to change the Magento Customer Core model. There are two types of validation: through the front-end javascript and in the backend Customer model. Rewrite the model with your own customer module. Then copy the validate() public function. And comment out the following lines: