haroons Posted July 7, 2014 Share Posted July 7, 2014 Hi When a customer enters their details the first letter of their name and address is not in capitals if they did not enter it in capital letters. Is there a way to force prestashop to store the customer details in uppercase? Using 1.6 thanks Link to comment Share on other sites More sharing options...
haroons Posted July 8, 2014 Author Share Posted July 8, 2014 Any help with this please? Link to comment Share on other sites More sharing options...
reinoplantae Posted November 27, 2014 Share Posted November 27, 2014 Hello friend, i am looking for the same thing. Did you find any solution?? Link to comment Share on other sites More sharing options...
mickeyboy1 Posted November 27, 2014 Share Posted November 27, 2014 (edited) goto themes/your-theme/authentication.tpl and fiind this code around line 123 <div class="required form-group"> <label for="firstname">{l s='First name'} <sup>*</sup></label> <input type="text" class="is_required validate form-control" data-validate="isName" id="firstname" name="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{/if}" /> </div> <div class="required form-group"> <label for="lastname">{l s='Last name'} <sup>*</sup></label> <input type="text" class="is_required validate form-control" data-validate="isName" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{/if}" /> </div> And change it to <div class="required form-group"> <label for="firstname">{l s='First name'} <sup>*</sup></label> <input type="text" class="is_required validate form-control" data-validate="isName" id="firstname" name="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname|capitalize}{/if}" /> </div> <div class="required form-group"> <label for="lastname">{l s='Last name'} <sup>*</sup></label> <input type="text" class="is_required validate form-control" data-validate="isName" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname|capitalize}{/if}" /> </div> Edited November 27, 2014 by mickeyboy1 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts