pofke852 Posted November 18, 2018 Share Posted November 18, 2018 Hi there, I need to remove title in registration form (Mr, Mrs) how could i do that? My version 1.7.4.4 Photo below, thanks for you support. Link to comment Share on other sites More sharing options...
JBW Posted November 19, 2018 Share Posted November 19, 2018 I did it by modifying customer-form.tpl (based on an advise from this forum) <section> {block "form_fields"} {foreach from=$formFields item="field"} {** JBW 2018-11-12: Remove gender/title fields from registration *} {if $field.name != 'id_gender'} {block "form_field"} {form_field field=$field} {/block} {/if} {** {block "form_field"} {form_field field=$field} {/block} *} {/foreach} {$hook_create_account_form nofilter} {/block} </section> Link to comment Share on other sites More sharing options...
pofke852 Posted November 19, 2018 Author Share Posted November 19, 2018 Just now, JBW said: I did it by modifying customer-form.tpl (based on an advise from this forum) <section> {block "form_fields"} {foreach from=$formFields item="field"} {** JBW 2018-11-12: Remove gender/title fields from registration *} {if $field.name != 'id_gender'} {block "form_field"} {form_field field=$field} {/block} {/if} {** {block "form_field"} {form_field field=$field} {/block} *} {/foreach} {$hook_create_account_form nofilter} {/block} </section> Just post this code? Link to comment Share on other sites More sharing options...
JBW Posted November 19, 2018 Share Posted November 19, 2018 No, replace the existing section 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