Guest Posted June 17, 2009 Share Posted June 17, 2009 if you need to make phone as a required field during resgist or modify account info,you can do as below:1. modify it in:address.php, modify: protected $fieldsRequired = array('id_country', 'alias', 'lastname', 'firstname', 'address1', 'postcode', 'city');to protected $fieldsRequired = array('id_country', 'alias', 'lastname', 'firstname', 'address1', 'postcode', 'city','phone');2. modify authentication.tpl,address.tpl,below black: {l s='phone number'} <input type="text" id="phone" name="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{else}{$address->phone|escape:'htmlall':'UTF-8'}{/if}" />* Link to comment Share on other sites More sharing options...
Guest Posted June 19, 2009 Share Posted June 19, 2009 is in:\classes\Address.phpnot in \address.php Link to comment Share on other sites More sharing options...
emadtakatka Posted June 25, 2009 Share Posted June 25, 2009 Need help in this problem , I try to make the telephone is required I have done what you say but when I try to make order the register menu not come I have modified address.php in classes directoryI have modified the authentication.tpl in themes\prestashopI have modified the address.tpl in themes\prestashopand no menu for rigister come need help thanks in advance Link to comment Share on other sites More sharing options...
Recommended Posts