getback Posted September 25, 2009 Share Posted September 25, 2009 Can you tell me how to make the phone number to be required field and to be shown in the order information box before confirmation?Thanks in advance! Link to comment Share on other sites More sharing options...
Shamrock Posted September 25, 2009 Share Posted September 25, 2009 HI go to theme-->your template--> open authentication.tplfrom {l s='Home phone'} <input type="text" class="text" name="phone" id="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{/if}" /> To {l s='Home phone'} <input type="text" class="text" name="phone" id="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone|escape:'htmlall,UTF-8'|stripslashes}{/if}" /> * have fun Link to comment Share on other sites More sharing options...
SonnyBoyII Posted May 16, 2011 Share Posted May 16, 2011 partly true You have to change in the file /classes/adresses.php the line:protected $fieldsRequired = array('id_country', 'alias', 'lastname', 'firstname', 'address1', 'postcode', 'city');to: protected $fieldsRequired = array('id_country', 'alias', 'lastname', 'firstname', 'address1', 'postcode', 'city', 'phone');Now it will work regards,SonnyBoy 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