ailerna Posted May 3, 2017 Share Posted May 3, 2017 Hi, I want not allow users to change his data account like first name, last name, email, identification number, birthday and others in customer account settings. I just want to show the data but not allow them to change it. The users in my prestashop are created automatically with data from an external data base where I have all the data of customers that I need. Then, once created, the users can't change his data. To change it, they must conctact me and when I change the data the changes will appear in Prestashop. I tryed to add the disabled property to all the inputs in the identity.tpl but it doesn't work. Someone can help me? Thanks. Link to comment Share on other sites More sharing options...
jetway Posted May 4, 2017 Share Posted May 4, 2017 On the account tpl i would markout the saving button which will make it disappear. This is one solution but im sure there are others. Link to comment Share on other sites More sharing options...
shokinro Posted May 4, 2017 Share Posted May 4, 2017 you can use "readonly" attribute of HTML to make each input field to be read only. so use will not be able to make changes. you will need to modify the theme file of your theme. 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