icyhot Posted March 20, 2012 Share Posted March 20, 2012 I don't want to know if my customer is a man or lady.... I've searched entire forum and could find similar topics but none of them were working.. I would like to put the initial value "unknown" and skip this section (title) off. Anyone know how to do it in prestashop 4.1.7?? Link to comment Share on other sites More sharing options...
tdr170 Posted March 20, 2012 Share Posted March 20, 2012 You will need to comment out lines in authentication.tpl. Look here ...themes/prestashop and find authentication.tpl, first if you are using guest checkout you will need to comment out lines 146 - 152. Now for the standard account creation comment out lines 309 - 315. This is how the lines will look in case your are in different line numbers. ( add <! - - before the opening <p and - - > after the closing p>. (text is same for both areas) <!--<p class="radio required"> <span>{l s='Title'}</span> <input type="radio" name="id_gender" id="id_gender1" value="1" {if isset($smarty.post.id_gender) && $smarty.post.id_gender == '1'}checked="checked"{/if}> <label for="id_gender1" class="top">{l s='Mr.'}</label> <input type="radio" name="id_gender" id="id_gender2" value="2" {if isset($smarty.post.id_gender) && $smarty.post.id_gender == '2'}checked="checked"{/if}> <label for="id_gender2" class="top">{l s='Ms.'}</label> </p> --> Link to comment Share on other sites More sharing options...
icyhot Posted March 20, 2012 Author Share Posted March 20, 2012 I am not using guest check out at all so I deleted the lines 309 - 315 from the authentication.tpl file but they are still there. I don't know why? do you have any clue? Link to comment Share on other sites More sharing options...
tdr170 Posted March 20, 2012 Share Posted March 20, 2012 Did you go to preferences/performance and turn force compile to on and cache to off and then click the link to your shop at top of page. This will work I tested on my site however I always choose force compile when making code changes. Let me know hoe it goes. Also did you mean 1.4.7 in your original post. Link to comment Share on other sites More sharing options...
Recommended Posts