Peyman-green Posted October 5, 2010 Share Posted October 5, 2010 Hello I want to delete birthday and lastname fields from create account form.Please help me thanks. Link to comment Share on other sites More sharing options...
rocky Posted October 6, 2010 Share Posted October 6, 2010 You can't remove the last name. PrestaShop requires it to function. You can remove the birthday though. See here. Link to comment Share on other sites More sharing options...
Peyman-green Posted October 6, 2010 Author Share Posted October 6, 2010 Tanx for help me. my question is solved. but another questions about create account page :1- i'm changed place of fields from authection.tpl , this work made any problem fo my shop ? example: phone field move to top of the country field2- my shop work only with one country. can i change country field to static and don't changed to other countries ?3- name and last name field in two part of top form and bottom in create account form. i want to remove first name and last name in bottom form. i am {*comment out*) from authentication.tpl. this is can made any problem for me? Link to comment Share on other sites More sharing options...
rocky Posted October 6, 2010 Share Posted October 6, 2010 1. Rearranging the fields shouldn't cause any problems.2. Just make your country the default country, then it will be selected by default. You can disable all the countries except your own to make it impossible to change the country.3. You shouldn't comment out those fields, since they are required. I suggest that you instead change them to: {l s='First name'} <input type="text" class="text" id="firstname" name="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if}" /> * {l s='Last name'} <input type="text" class="text" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{/if}" /> * Link to comment Share on other sites More sharing options...
Peyman-green Posted October 6, 2010 Author Share Posted October 6, 2010 Tanx for help me. 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