wube Posted September 16, 2011 Share Posted September 16, 2011 Hi, I'd like to remove some unnecessary fields from registration form. In Adresses.php i have found a variable: protected $fieldsRequired = array('id_country', 'alias', 'lastname', 'firstname', 'address1', 'city'); But array doesn't contain all reqiured fields. For example i'd like to get rid of DNI number, and phone number. Where can I find them? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted September 16, 2011 Share Posted September 16, 2011 Hi wube, You should be able to delete that information in your authentication.tpl file. -Mike Link to comment Share on other sites More sharing options...
wube Posted September 16, 2011 Author Share Posted September 16, 2011 Shure I can, but even if I remove them from TPL file they are still required. For example try to delete .account_creation dni from tpl file. By default there are 8 required fields: phone, surname, name, email, adress1, city, zip/postal code, and DNI number. $fieldsRequired variable contains only 5 of them. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted September 16, 2011 Share Posted September 16, 2011 Can you give me a link to you registration page so that I can check this out for you? -Mike Link to comment Share on other sites More sharing options...
wube Posted September 16, 2011 Author Share Posted September 16, 2011 I can attach a file, my shop is still on localhost. It's nearly done http://dl.dropbox.com/u/3638687/presta-authentication.rar Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now