fatheeym Posted April 20, 2016 Share Posted April 20, 2016 iwant to remove (mr , mrs) Social title in registration form Link to comment Share on other sites More sharing options...
selectshop.at Posted April 20, 2016 Share Posted April 20, 2016 comment the lines in template /themes/your theme/authentication.tpl about line 113 (block class gender_line) Link to comment Share on other sites More sharing options...
fatheeym Posted April 20, 2016 Author Share Posted April 20, 2016 i have tried to delete it and comment it these line <div class="cleafix gender-line"> <label>{l s='Title'}</label> {foreach from=$genders key=k item=gender} <div class="radio-inline"> <label for="id_gender{$gender->id}" class="top"> <input type="radio" name="id_gender" id="id_gender{$gender->id}" value="{$gender->id}"{if isset($smarty.post.id_gender) && $smarty.post.id_gender == $gender->id} checked="checked"{/if} /> {$gender->name} </label> </div> {/foreach} </div> but it still as it Link to comment Share on other sites More sharing options...
selectshop.at Posted April 21, 2016 Share Posted April 21, 2016 Deleted smarty and browser cache too? Otherwise you will see a cached version of your site. Link to comment Share on other sites More sharing options...
AlleyKat Posted June 24, 2019 Share Posted June 24, 2019 Still visible on the OPC, so not a good fix, unfortunately. (Yes, I cleared cache, PS 1.6) Link to comment Share on other sites More sharing options...
AlleyKat Posted June 24, 2019 Share Posted June 24, 2019 I did fix this by also removing the sections from files order-opc-new-account.tpl and order-opc-new-account-advanced.tpl Have to agree with the critics, however, this really should be configurable from the backend. I'm told 1.7 doesn't include this either. Link to comment Share on other sites More sharing options...
EstebanGarviso Posted August 2, 2020 Share Posted August 2, 2020 On 6/24/2019 at 11:17 AM, AlleyKat said: I did fix this by also removing the sections from files order-opc-new-account.tpl and order-opc-new-account-advanced.tpl Have to agree with the critics, however, this really should be configurable from the backend. I'm told 1.7 doesn't include this either. Backup First Solution for PS 1.7+ You need to override the class CustomerFormatterCore that is in "classes/form/CustomerFormatter.php", in order to do this you have to create the file "override/classes/form/CustomerFormatter.php" so here copy and paste the next code and save: <?php class CustomerFormatter extends CustomerFormatterCore { public function getFormat() { $format = parent::getFormat(); //social titles removed unset($format['id_gender']); return $format; } } Refresh the full cache, go where social titles are displayed, and press and hold CTRL+F5. Regards, 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