Zahid Khan Posted June 16, 2016 Share Posted June 16, 2016 Hi How can we Remove date of birth field from customer registration, as this annoys many customers. Link to comment Share on other sites More sharing options...
Rolige Posted June 16, 2016 Share Posted June 16, 2016 Just commet two blocks of code in the file: /themes/default-bootstrap/authentication.tpl Search for the label: <label>{l s='Date of Birth'}</label> And comment all the code of the parent <div> I repeat, there are two blocks of code, you need comment both blocks. Link to comment Share on other sites More sharing options...
T74 Posted February 22, 2019 Share Posted February 22, 2019 How to Remove birthday box in checkout Personal Information in prestashop 1.7.5 put check into line 30 in /themes/classic/templates/_partials/ form-fields.tpl {if $field.type == 'hidden'} {block name='form_field_item_hidden'} <input type="hidden" name="{$field.name}" value="{$field.value}"> {/block}{elseif {$field.name} == 'birthday'} {else} <div class="form-group row {if !empty($field.errors)}has-error{/if}"> <label class="col-md-3 form-control-label{if $field.required} required{/if}"> {if $field.type !== 'checkbox'} {$field.label} {/if} </label> ---------------------------------------------------------------- removing the birthday block in this file won't help if the field is optional it passes as other in {else} {block name='form_field_item_other'} other words $field.type on birthday field is not 'birthday' and this fails {elseif $field.type === 'birthday'} Link to comment Share on other sites More sharing options...
remoteONE Posted March 30, 2019 Share Posted March 30, 2019 (edited) -- Edited March 30, 2019 by remoteONE (see edit history) Link to comment Share on other sites More sharing options...
remoteONE Posted March 30, 2019 Share Posted March 30, 2019 (edited) Oh.. I found there, is a switch to disable it: in 1.7.x Disable the birth date field in the "Customer Settings" page. Simply select "No" for the "Ask for birth date" option. So now PS designers need to add a Switch to turn off Social title! Edited March 30, 2019 by remoteONE (see edit history) Link to comment Share on other sites More sharing options...
airjohn Posted June 5, 2020 Share Posted June 5, 2020 On 3/30/2019 at 6:41 PM, remoteONE said: Oh.. I found there, is a switch to disable it: in 1.7.x Disable the birth date field in the "Customer Settings" page. Simply select "No" for the "Ask for birth date" option. So now PS designers need to add a Switch to turn off Social title! Or, you can delete at all the social titles in "Customer Service>Titles" tab, although it would be preferable to have a switch as already mentioned 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