cornball Posted May 20, 2012 Share Posted May 20, 2012 Hi My customers are required to give their age when signing up to my site. I don't feel this is relevant and would rather remove it, is it possible ? http://www.chic-eboutiques.com Link to comment Share on other sites More sharing options...
MEG Venture Posted May 20, 2012 Share Posted May 20, 2012 Your website is not opening. Link to comment Share on other sites More sharing options...
oxyweb Posted May 20, 2012 Share Posted May 20, 2012 (edited) Hi, I don't believe it can be done from the back end but the following work is what I do: in your themes/themenamefolder/ look for authentication.tpl and order-opc-new-account.tpl. Within these files you will find the following twice in authentication.tpl and order-opc-new-account.tpl, either you can delete it or better would be to comment it out with html comment tags. <p class="select"> <span>{l s='Date of Birth'}</span> <select id="days" name="days"> <option value="">-</option> {foreach from=$days item=day} <option value="{$day|escape:'htmlall':'UTF-8'}" {if ($sl_day == $day)} selected="selected"{/if}>{$day|escape:'htmlall':'UTF-8'} </option> {/foreach} </select> {* {l s='January'} {l s='February'} {l s='March'} {l s='April'} {l s='May'} {l s='June'} {l s='July'} {l s='August'} {l s='September'} {l s='October'} {l s='November'} {l s='December'} *} <select id="months" name="months"> <option value="">-</option> {foreach from=$months key=k item=month} <option value="{$k|escape:'htmlall':'UTF-8'}" {if ($sl_month == $k)} selected="selected"{/if}>{l s="$month"} </option> {/foreach} </select> <select id="years" name="years"> <option value="">-</option> {foreach from=$years item=year} <option value="{$year|escape:'htmlall':'UTF-8'}" {if ($sl_year == $year)} selected="selected"{/if}>{$year|escape:'htmlall':'UTF-8'} </option> {/foreach} </select> </p> It also appears in identity.tpl which is the user's profile once they have registered. you may wish to leave that in. Don't forget to Foce Compile Smarty in Preferences > Performance. Edited May 20, 2012 by oxyweb (see edit history) 1 Link to comment Share on other sites More sharing options...
klappeglappe Posted February 24, 2013 Share Posted February 24, 2013 Thanks that worked for me :-) Link to comment Share on other sites More sharing options...
uspetznaz Posted March 24, 2013 Share Posted March 24, 2013 I also thought of changing the available options, ie the years displayed in the selector, which are retrieved by the controller but at then end decided to just hide the fields, too. Thanks! Link to comment Share on other sites More sharing options...
massimomassimo Posted May 7, 2013 Share Posted May 7, 2013 Hi, I try and try. Did not work! The field birth day is still there. I did delete in the authentication.tpl and order-opc-new-account.tpl I would like to let desappire also Mr Ms Miss What to do next? Thank you. Link to comment Share on other sites More sharing options...
Miromst Posted December 1, 2013 Share Posted December 1, 2013 Hi All, for some reason it does not work for me eiter. Any ideas anyone? Thank you Link to comment Share on other sites More sharing options...
trevorgilligan Posted May 7, 2015 Share Posted May 7, 2015 AN EASY way is to go into localization - contries and in there you can remove date of birth or mr / mrs. also , maybe go to customers - titles and remove mr / mrs and maybe if there are none prestashop will leave out in address section. Link to comment Share on other sites More sharing options...
piercingpusher Posted December 11, 2015 Share Posted December 11, 2015 AN EASY way is to go into localization - contries and in there you can remove date of birth or mr / mrs. also , maybe go to customers - titles and remove mr / mrs and maybe if there are none prestashop will leave out in address section. I can`t see that this is possible.. The birthday field is not visible for deleting. 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